home *** CD-ROM | disk | FTP | other *** search
/ AppleScript - The Beta Release / AppleScript - The Beta Release.iso / Development Tools / Unsupported Tools / Aete Editor Stack 1.0b2 / Aete Editor b2 next >
MacBinary  |  1992-11-23  |  333.8 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Aete Editor b2

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Mar 2 06:22:53 1992, modified Mon Nov 23 09:36:43 1992, creator HyperCard, type HyperCard stack, 270848 bytes "Aete Editor b2" , at 0x42280 70707 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 41 65 74 65 20 45 | 64 69 74 6f 72 20 62 32 |..Aete E|ditor b2|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 04 22 00 00 | 01 14 33 a5 d7 c0 8d a7 |....."..|..3.....|
|00000060| 36 9c fb 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |6.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 58 6d 00 00 |........|....Xm..|
|00000080| 00 00 3c 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..<.STAK|........|
|00000090| 00 00 00 0a 00 04 22 00 | 00 00 3c 00 00 00 00 00 |......".|..<.....|
|000000a0| 00 00 00 00 00 00 00 06 | 00 00 0e 3c 00 00 00 0f |........|...<....|
|000000b0| 00 00 3b 83 00 00 28 e3 | 00 00 00 00 00 00 00 00 |..;...(.|........|
|000000c0| 00 00 40 d9 00 00 00 00 | 00 05 00 00 10 00 00 00 |..@.....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| de 09 ef 41 00 00 00 00 | 00 37 00 50 01 8d 02 50 |...A....|.7.P...P|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d ef 00 00 0c 06 | 01 56 02 00 00 00 00 00 |........|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 73 75 73 70 65 | 6e 64 53 74 61 63 6b 0d |on suspe|ndStack.|
|00000690| 72 65 73 65 74 20 6d 65 | 6e 75 42 61 72 0d 65 6e |reset me|nuBar.en|
|000006a0| 64 20 73 75 73 70 65 6e | 64 53 74 61 63 6b 0d 0d |d suspen|dStack..|
|000006b0| 6f 6e 20 72 65 73 75 6d | 65 53 74 61 63 6b 0d 69 |on resum|eStack.i|
|000006c0| 66 20 74 68 65 20 75 73 | 65 72 4c 65 76 65 6c 20 |f the us|erLevel |
|000006d0| 69 73 20 31 20 74 68 65 | 6e 20 73 65 74 20 74 68 |is 1 the|n set th|
|000006e0| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 74 6f 20 32 |e userLe|vel to 2|
|000006f0| 0d 41 65 74 65 45 64 74 | 69 6f 72 4d 65 6e 75 0d |.AeteEdt|iorMenu.|
|00000700| 43 68 65 63 6b 50 72 65 | 66 65 72 65 6e 63 65 0d |CheckPre|ference.|
|00000710| 65 6e 64 20 72 65 73 75 | 6d 65 53 74 61 63 6b 0d |end resu|meStack.|
|00000720| 0d 6f 6e 20 41 65 74 65 | 45 64 74 69 6f 72 4d 65 |.on Aete|EdtiorMe|
|00000730| 6e 75 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |nu.if th|ere is a|
|00000740| 20 6d 65 6e 75 20 22 53 | 74 79 6c 65 22 20 74 68 | menu "S|tyle" th|
|00000750| 65 6e 20 64 65 6c 65 74 | 65 20 6d 65 6e 75 20 22 |en delet|e menu "|
|00000760| 53 74 79 6c 65 22 0d 69 | 66 20 74 68 65 72 65 20 |Style".i|f there |
|00000770| 69 73 20 61 20 6d 65 6e | 75 20 22 46 6f 6e 74 22 |is a men|u "Font"|
|00000780| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|00000790| 75 20 22 46 6f 6e 74 22 | 0d 69 66 20 74 68 65 72 |u "Font"|.if ther|
|000007a0| 65 20 69 73 20 61 20 6d | 65 6e 75 20 22 4f 62 6a |e is a m|enu "Obj|
|000007b0| 65 63 74 73 22 20 74 68 | 65 6e 20 64 65 6c 65 74 |ects" th|en delet|
|000007c0| 65 20 6d 65 6e 75 20 22 | 4f 62 6a 65 63 74 73 22 |e menu "|Objects"|
|000007d0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 6d |.if ther|e is a m|
|000007e0| 65 6e 75 20 22 54 6f 6f | 6c 73 22 20 74 68 65 6e |enu "Too|ls" then|
|000007f0| 20 64 65 6c 65 74 65 20 | 6d 65 6e 75 20 22 54 6f | delete |menu "To|
|00000800| 6f 6c 73 22 0d 63 72 65 | 61 74 65 20 6d 65 6e 75 |ols".cre|ate menu|
|00000810| 20 22 41 65 74 65 45 64 | 69 74 6f 72 22 0d 50 75 | "AeteEd|itor".Pu|
|00000820| 74 20 22 49 6e 73 74 72 | 75 63 74 69 6f 6e 73 2c |t "Instr|uctions,|
|00000830| 50 72 65 66 65 72 65 6e | 63 65 73 2c 2d 2c 52 65 |Preferen|ces,-,Re|
|00000840| 73 6f 75 72 63 65 20 54 | 6f 6f 6c 73 2c ae 20 53 |source T|ools,. S|
|00000850| 75 69 74 65 73 2c 45 76 | 65 6e 74 73 2c 43 6c 61 |uites,Ev|ents,Cla|
|00000860| 73 73 65 73 2c 45 6e 75 | 6d 65 72 61 74 69 6f 6e |sses,Enu|meration|
|00000870| 73 2c 43 6f 6d 70 61 72 | 69 73 6f 6e 73 2c 2d 2c |s,Compar|isons,-,|
|00000880| 4e 65 77 20 45 64 69 74 | 6f 72 c9 2c 45 6d 70 74 |New Edit|or.,Empt|
|00000890| 79 20 53 74 61 63 6b c9 | 2c 2d 2c 4c 6f 63 61 6c |y Stack.|,-,Local|
|000008a0| 69 7a 65 20 61 65 74 65 | c9 2c 2d 2c 53 68 6f 77 |ize aete|.,-,Show|
|000008b0| 20 52 65 67 69 73 74 72 | 79 22 20 69 6e 74 6f 20 | Registr|y" into |
|000008c0| 6d 65 6e 75 20 22 41 65 | 74 65 45 64 69 74 6f 72 |menu "Ae|teEditor|
|000008d0| 22 c2 0d 77 69 74 68 20 | 6d 65 6e 75 4d 73 67 20 |"..with |menuMsg |
|000008e0| 22 49 6e 73 74 72 75 63 | 74 69 6f 6e 73 2c 50 72 |"Instruc|tions,Pr|
|000008f0| 65 66 65 72 65 6e 63 65 | 73 43 61 72 64 2c 20 2c |eference|sCard, ,|
|00000900| 72 65 73 6f 75 72 63 65 | 54 6f 6f 6c 73 2c 41 45 |resource|Tools,AE|
|00000910| 53 75 69 74 65 73 42 67 | 2c 65 76 65 6e 74 73 42 |SuitesBg|,eventsB|
|00000920| 67 2c 63 6c 61 73 73 42 | 67 2c 65 6e 75 6d 42 67 |g,classB|g,enumBg|
|00000930| 2c 63 6f 6d 70 61 72 69 | 73 6f 6e 42 67 2c 20 2c |,compari|sonBg, ,|
|00000940| 6d 61 6b 65 4e 65 77 53 | 74 61 63 6b 20 66 61 6c |makeNewS|tack fal|
|00000950| 73 65 2c 65 6d 70 74 79 | 53 74 61 63 6b 2c 20 2c |se,empty|Stack, ,|
|00000960| 6c 6f 63 61 6c 69 7a 65 | 49 74 2c 20 2c 6e 61 6d |localize|It, ,nam|
|00000970| 65 4c 69 73 74 57 69 6e | 64 6f 69 64 22 0d 65 6e |eListWin|doid".en|
|00000980| 64 20 41 65 74 65 45 64 | 74 69 6f 72 4d 65 6e 75 |d AeteEd|tiorMenu|
|00000990| 0d 0d 6f 6e 20 43 68 65 | 63 6b 49 44 54 6f 4e 61 |..on Che|ckIDToNa|
|000009a0| 6d 65 20 6b 65 79 0d 69 | 66 20 74 68 65 72 65 20 |me key.i|f there |
|000009b0| 69 73 20 61 20 77 69 6e | 64 6f 77 20 22 52 65 67 |is a win|dow "Reg|
|000009c0| 69 73 74 72 79 20 43 6f | 6e 73 74 61 6e 74 73 22 |istry Co|nstants"|
|000009d0| 20 74 68 65 6e 0d 70 75 | 74 20 63 61 72 64 20 66 | then.pu|t card f|
|000009e0| 69 65 6c 64 20 22 6e 61 | 6d 65 6c 69 73 74 22 20 |ield "na|melist" |
|000009f0| 6f 66 20 63 61 72 64 20 | 22 70 72 65 66 65 72 65 |of card |"prefere|
|00000a00| 6e 63 65 22 20 69 6e 74 | 6f 20 61 65 74 65 4e 61 |nce" int|o aeteNa|
|00000a10| 6d 65 4c 69 73 74 0d 69 | 66 20 6c 65 6e 67 74 68 |meList.i|f length|
|00000a20| 20 6f 66 20 6b 65 79 20 | 3e 20 30 20 74 68 65 6e | of key |> 0 then|
|00000a30| 0d 70 75 74 20 22 27 22 | 20 26 20 52 65 73 54 79 |.put "'"| & ResTy|
|00000a40| 70 65 28 6b 65 79 29 20 | 26 20 22 27 22 20 69 6e |pe(key) |& "'" in|
|00000a50| 74 6f 20 78 0d 70 75 74 | 20 6f 66 66 73 65 74 20 |to x.put| offset |
|00000a60| 28 78 2c 20 61 65 74 65 | 4e 61 6d 65 4c 69 73 74 |(x, aete|NameList|
|00000a70| 29 20 69 6e 74 6f 20 79 | 0d 69 66 20 79 20 3e 20 |) into y|.if y > |
|00000a80| 30 20 74 68 65 6e 0d 70 | 75 74 20 79 2d 35 30 20 |0 then.p|ut y-50 |
|00000a90| 69 6e 74 6f 20 62 67 6e | 0d 69 66 20 62 67 6e 20 |into bgn|.if bgn |
|00000aa0| 3c 3d 20 30 20 74 68 65 | 6e 20 70 75 74 20 31 20 |<= 0 the|n put 1 |
|00000ab0| 69 6e 74 6f 20 62 67 6e | 0d 70 75 74 20 6c 61 73 |into bgn|.put las|
|00000ac0| 74 20 6c 69 6e 65 20 6f | 66 20 63 68 61 72 20 62 |t line o|f char b|
|00000ad0| 67 6e 20 74 6f 20 79 2b | 35 20 6f 66 20 61 65 74 |gn to y+|5 of aet|
|00000ae0| 65 4e 61 6d 65 4c 69 73 | 74 20 69 6e 74 6f 20 7a |eNameLis|t into z|
|00000af0| 0d 73 65 6e 64 20 7a 20 | 74 6f 20 77 69 6e 64 6f |.send z |to windo|
|00000b00| 77 20 22 52 65 67 69 73 | 74 72 79 20 43 6f 6e 73 |w "Regis|try Cons|
|00000b10| 74 61 6e 74 73 22 0d 65 | 6e 64 20 69 66 0d 65 6e |tants".e|nd if.en|
|00000b20| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end |
|00000b30| 43 68 65 63 6b 49 44 54 | 6f 4e 61 6d 65 0d 0d 6f |CheckIDT|oName..o|
|00000b40| 6e 20 47 65 74 4e 65 78 | 74 53 65 6c 65 63 74 65 |n GetNex|tSelecte|
|00000b50| 64 20 2d 2d 20 66 69 6e | 64 20 6e 65 78 74 20 6c |d -- fin|d next l|
|00000b60| 69 6e 65 20 77 69 74 68 | 20 73 61 6d 65 20 66 6f |ine with| same fo|
|00000b70| 75 72 20 6c 65 74 74 65 | 20 63 6f 64 65 0d 67 65 |ur lette| code.ge|
|00000b80| 74 20 73 65 6c 65 63 74 | 65 64 54 65 78 74 20 6f |t select|edText o|
|00000b90| 66 20 77 69 6e 64 6f 77 | 20 22 52 65 67 69 73 74 |f window| "Regist|
|00000ba0| 72 79 20 43 6f 6e 73 74 | 61 6e 74 73 22 0d 70 75 |ry Const|ants".pu|
|00000bb0| 74 20 6c 65 6e 67 74 68 | 20 6f 66 20 69 74 20 69 |t length| of it i|
|00000bc0| 6e 74 6f 20 78 0d 70 75 | 74 20 63 68 61 72 20 28 |nto x.pu|t char (|
|00000bd0| 78 2d 35 29 20 74 6f 20 | 78 20 6f 66 20 69 74 20 |x-5) to |x of it |
|00000be0| 69 6e 74 6f 20 66 6c 63 | 0d 67 65 74 20 73 65 6c |into flc|.get sel|
|00000bf0| 65 63 74 65 64 4c 69 6e | 65 20 6f 66 20 77 69 6e |ectedLin|e of win|
|00000c00| 64 6f 77 20 22 52 65 67 | 69 73 74 72 79 20 43 6f |dow "Reg|istry Co|
|00000c10| 6e 73 74 61 6e 74 73 22 | 0d 70 75 74 20 69 74 20 |nstants"|.put it |
|00000c20| 69 6e 74 6f 20 73 65 6c | 65 63 74 65 64 4c 69 6e |into sel|ectedLin|
|00000c30| 65 0d 2d 2d 20 73 65 65 | 20 69 66 20 74 68 65 20 |e.-- see| if the |
|00000c40| 66 6f 75 72 2d 6c 65 74 | 74 65 72 2d 63 6f 64 65 |four-let|ter-code|
|00000c50| 20 69 73 20 69 6e 20 74 | 68 65 20 72 65 73 74 20 | is in t|he rest |
|00000c60| 6f 66 20 74 68 65 20 74 | 65 78 74 0d 70 75 74 20 |of the t|ext.put |
|00000c70| 6c 69 6e 65 20 73 65 6c | 65 63 74 65 64 4c 69 6e |line sel|ectedLin|
|00000c80| 65 2b 31 20 74 6f 20 39 | 39 39 39 20 6f 66 20 63 |e+1 to 9|999 of c|
|00000c90| 61 72 64 20 66 69 65 6c | 64 20 22 6e 61 6d 65 6c |ard fiel|d "namel|
|00000ca0| 69 73 74 22 20 6f 66 20 | 63 61 72 64 20 22 70 72 |ist" of |card "pr|
|00000cb0| 65 66 65 72 65 6e 63 65 | 22 20 69 6e 74 6f 20 61 |eference|" into a|
|00000cc0| 65 74 65 4e 61 6d 65 4c | 69 73 74 0d 70 75 74 20 |eteNameL|ist.put |
|00000cd0| 6f 66 66 73 65 74 28 66 | 6c 63 2c 61 65 74 65 4e |offset(f|lc,aeteN|
|00000ce0| 61 6d 65 4c 69 73 74 29 | 20 69 6e 74 6f 20 78 0d |ameList)| into x.|
|00000cf0| 69 66 20 78 20 3e 20 30 | 20 74 68 65 6e 0d 70 75 |if x > 0| then.pu|
|00000d00| 74 20 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 63 |t last l|ine of c|
|00000d10| 68 61 72 20 78 2d 35 30 | 20 74 6f 20 78 2b 35 20 |har x-50| to x+5 |
|00000d20| 6f 66 20 61 65 74 65 4e | 61 6d 65 4c 69 73 74 20 |of aeteN|ameList |
|00000d30| 69 6e 74 6f 20 7a 0d 73 | 65 6e 64 20 7a 20 74 6f |into z.s|end z to|
|00000d40| 20 77 69 6e 64 6f 77 20 | 22 52 65 67 69 73 74 72 | window |"Registr|
|00000d50| 79 20 43 6f 6e 73 74 61 | 6e 74 73 22 0d 65 6c 73 |y Consta|nts".els|
|00000d60| 65 20 2d 2d 20 77 72 61 | 70 20 61 72 6f 75 6e 64 |e -- wra|p around|
|00000d70| 0d 43 68 65 63 6b 49 44 | 54 6f 4e 61 6d 65 20 63 |.CheckID|ToName c|
|00000d80| 68 61 72 20 32 20 74 6f | 20 35 20 6f 66 20 66 6c |har 2 to| 5 of fl|
|00000d90| 63 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 47 65 74 |c.end if|.end Get|
|00000da0| 4e 65 78 74 53 65 6c 65 | 63 74 65 64 0d 0d 6f 6e |NextSele|cted..on|
|00000db0| 20 43 68 65 63 6b 4e 61 | 6d 65 54 6f 49 44 20 6b | CheckNa|meToID k|
|00000dc0| 73 0d 70 75 74 20 43 68 | 61 72 54 6f 4e 75 6d 28 |s.put Ch|arToNum(|
|00000dd0| 6b 73 29 20 69 6e 74 6f | 20 79 0d 69 66 20 28 79 |ks) into| y.if (y|
|00000de0| 20 3d 20 33 30 29 20 6f | 72 20 28 79 20 3d 20 33 | = 30) o|r (y = 3|
|00000df0| 31 29 20 74 68 65 6e 20 | 2d 2d 20 75 70 2f 64 6f |1) then |-- up/do|
|00000e00| 77 6e 20 61 72 72 6f 77 | 20 67 6f 20 74 6f 20 77 |wn arrow| go to w|
|00000e10| 69 6e 64 6f 69 64 0d 73 | 65 6e 64 20 6b 73 20 74 |indoid.s|end ks t|
|00000e20| 6f 20 77 69 6e 64 6f 77 | 20 22 52 65 67 69 73 74 |o window| "Regist|
|00000e30| 72 79 20 43 6f 6e 73 74 | 61 6e 74 73 22 0d 65 6c |ry Const|ants".el|
|00000e40| 73 65 20 69 66 20 79 20 | 3d 20 31 33 20 74 68 65 |se if y |= 13 the|
|00000e50| 6e 20 2d 2d 20 63 72 20 | 73 75 63 6b 73 20 69 6e |n -- cr |sucks in|
|00000e60| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 34 20 6c | the cur|rent 4 l|
|00000e70| 65 74 74 65 72 20 63 6f | 64 65 0d 67 65 74 20 73 |etter co|de.get s|
|00000e80| 65 6c 65 63 74 65 64 54 | 65 78 74 20 6f 66 20 77 |electedT|ext of w|
|00000e90| 69 6e 64 6f 77 20 22 52 | 65 67 69 73 74 72 79 20 |indow "R|egistry |
|00000ea0| 43 6f 6e 73 74 61 6e 74 | 73 22 0d 70 75 74 20 6c |Constant|s".put l|
|00000eb0| 65 6e 67 74 68 20 6f 66 | 20 69 74 20 69 6e 74 6f |ength of| it into|
|00000ec0| 20 78 0d 70 75 74 20 63 | 68 61 72 20 28 78 2d 34 | x.put c|har (x-4|
|00000ed0| 29 20 74 6f 20 28 78 2d | 31 29 20 6f 66 20 69 74 |) to (x-|1) of it|
|00000ee0| 20 69 6e 74 6f 20 74 61 | 72 67 65 74 0d 65 6c 73 | into ta|rget.els|
|00000ef0| 65 20 69 66 20 79 20 3d | 20 32 39 20 74 68 65 6e |e if y =| 29 then|
|00000f00| 0d 47 65 74 4e 65 78 74 | 53 65 6c 65 63 74 65 64 |.GetNext|Selected|
|00000f10| 0d 65 6c 73 65 0d 73 65 | 6e 64 20 22 6b 65 79 64 |.else.se|nd "keyd|
|00000f20| 6f 77 6e 20 6b 73 22 20 | 74 6f 20 48 79 70 65 72 |own ks" |to Hyper|
|00000f30| 43 61 72 64 0d 69 66 20 | 77 6f 72 64 20 6f 6e 65 |Card.if |word one|
|00000f40| 20 6f 66 20 74 61 72 67 | 65 74 20 69 73 20 6e 6f | of targ|et is no|
|00000f50| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 73 65 6e |t empty |then.sen|
|00000f60| 64 20 76 61 6c 75 65 20 | 6f 66 20 74 61 72 67 65 |d value |of targe|
|00000f70| 74 20 74 6f 20 77 69 6e | 64 6f 77 20 22 52 65 67 |t to win|dow "Reg|
|00000f80| 69 73 74 72 79 20 43 6f | 6e 73 74 61 6e 74 73 22 |istry Co|nstants"|
|00000f90| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|00000fa0| 6e 64 20 43 68 65 63 6b | 4e 61 6d 65 54 6f 49 44 |nd Check|NameToID|
|00000fb0| 0d 0d 6f 6e 20 6e 61 6d | 65 4c 69 73 74 57 69 6e |..on nam|eListWin|
|00000fc0| 64 6f 69 64 0d 70 75 74 | 20 63 61 72 64 20 66 69 |doid.put| card fi|
|00000fd0| 65 6c 64 20 22 6e 61 6d | 65 6c 69 73 74 22 20 6f |eld "nam|elist" o|
|00000fe0| 66 20 63 61 72 64 20 22 | 70 72 65 66 65 72 65 6e |f card "|preferen|
|00000ff0| 63 65 22 20 69 6e 74 6f | 20 61 65 74 65 4e 61 6d |ce" into| aeteNam|
|00001000| 65 4c 69 73 74 0d 4c 69 | 73 74 6f 69 64 20 22 52 |eList.Li|stoid "R|
|00001010| 65 67 69 73 74 72 79 20 | 43 6f 6e 73 74 61 6e 74 |egistry |Constant|
|00001020| 73 22 2c 61 65 74 65 4e | 61 6d 65 4c 69 73 74 0d |s",aeteN|ameList.|
|00001030| 65 6e 64 20 6e 61 6d 65 | 4c 69 73 74 57 69 6e 64 |end name|ListWind|
|00001040| 6f 69 64 0d 0d 6f 6e 20 | 4c 69 73 74 6f 69 64 53 |oid..on |ListoidS|
|00001050| 65 6c 65 63 74 20 77 68 | 61 74 2c 77 68 65 72 65 |elect wh|at,where|
|00001060| 0d 69 66 20 77 68 65 72 | 65 20 3d 20 22 52 65 67 |.if wher|e = "Reg|
|00001070| 69 73 74 72 79 20 43 6f | 6e 73 74 61 6e 74 73 22 |istry Co|nstants"|
|00001080| 20 74 68 65 6e 0d 70 75 | 74 20 6f 66 66 73 65 74 | then.pu|t offset|
|00001090| 28 22 3d 27 22 2c 20 77 | 68 61 74 29 20 69 6e 74 |("='", w|hat) int|
|000010a0| 6f 20 73 74 61 72 74 48 | 65 72 65 0d 69 66 20 73 |o startH|ere.if s|
|000010b0| 74 61 72 74 48 65 72 65 | 20 3e 20 30 20 74 68 65 |tartHere| > 0 the|
|000010c0| 6e 0d 64 65 6c 65 74 65 | 20 63 68 61 72 20 31 20 |n.delete| char 1 |
|000010d0| 74 6f 20 28 73 74 61 72 | 74 48 65 72 65 2b 31 29 |to (star|tHere+1)|
|000010e0| 20 6f 66 20 77 68 61 74 | 0d 69 66 20 6c 61 73 74 | of what|.if last|
|000010f0| 20 63 68 61 72 20 6f 66 | 20 77 68 61 74 20 3d 20 | char of| what = |
|00001100| 22 27 22 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |"'" then| delete |
|00001110| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 77 68 61 |last cha|r of wha|
|00001120| 74 0d 70 75 74 20 77 68 | 61 74 20 69 6e 74 6f 20 |t.put wh|at into |
|00001130| 74 68 65 20 53 65 6c 65 | 63 74 65 64 46 69 65 6c |the Sele|ctedFiel|
|00001140| 64 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |d.end if|.end if.|
|00001150| 65 6e 64 20 4c 69 73 74 | 6f 69 64 53 65 6c 65 63 |end List|oidSelec|
|00001160| 74 0d 0d 6f 6e 20 49 6e | 73 74 72 75 63 74 69 6f |t..on In|structio|
|00001170| 6e 73 0d 67 6c 6f 62 61 | 6c 20 67 57 68 65 72 65 |ns.globa|l gWhere|
|00001180| 46 72 6f 6d 0d 70 75 73 | 68 20 63 64 0d 70 6f 70 |From.pus|h cd.pop|
|00001190| 20 63 64 20 69 6e 74 6f | 20 67 57 68 65 72 65 46 | cd into| gWhereF|
|000011a0| 72 6f 6d 0d 67 6f 20 63 | 64 20 22 49 6e 73 74 72 |rom.go c|d "Instr|
|000011b0| 75 63 74 69 6f 6e 73 22 | 0d 65 6e 64 20 49 6e 73 |uctions"|.end Ins|
|000011c0| 74 72 75 63 74 69 6f 6e | 73 0d 0d 6f 6e 20 50 72 |truction|s..on Pr|
|000011d0| 65 66 65 72 65 6e 63 65 | 73 43 61 72 64 0d 67 6c |eference|sCard.gl|
|000011e0| 6f 62 61 6c 20 67 57 68 | 65 72 65 46 72 6f 6d 0d |obal gWh|ereFrom.|
|000011f0| 70 75 73 68 20 63 64 0d | 70 6f 70 20 63 64 20 69 |push cd.|pop cd i|
|00001200| 6e 74 6f 20 67 57 68 65 | 72 65 46 72 6f 6d 0d 67 |nto gWhe|reFrom.g|
|00001210| 6f 20 63 64 20 22 70 72 | 65 66 65 72 65 6e 63 65 |o cd "pr|eference|
|00001220| 22 0d 65 6e 64 20 50 72 | 65 66 65 72 65 6e 63 65 |".end Pr|eference|
|00001230| 73 43 61 72 64 0d 0d 6f | 6e 20 72 65 73 6f 75 72 |sCard..o|n resour|
|00001240| 63 65 54 6f 6f 6c 73 0d | 67 6c 6f 62 61 6c 20 67 |ceTools.|global g|
|00001250| 57 68 65 72 65 46 72 6f | 6d 0d 70 75 73 68 20 63 |WhereFro|m.push c|
|00001260| 64 0d 70 6f 70 20 63 64 | 20 69 6e 74 6f 20 67 57 |d.pop cd| into gW|
|00001270| 68 65 72 65 46 72 6f 6d | 0d 67 6f 20 63 64 20 22 |hereFrom|.go cd "|
|00001280| 6d 61 69 6e 4d 65 6e 75 | 22 0d 65 6e 64 20 72 65 |mainMenu|".end re|
|00001290| 73 6f 75 72 63 65 54 6f | 6f 6c 73 0d 0d 6f 6e 20 |sourceTo|ols..on |
|000012a0| 41 45 53 75 69 74 65 73 | 42 67 0d 67 6c 6f 62 61 |AESuites|Bg.globa|
|000012b0| 6c 20 67 57 68 65 72 65 | 46 72 6f 6d 0d 70 75 73 |l gWhere|From.pus|
|000012c0| 68 20 63 64 0d 70 6f 70 | 20 63 64 20 69 6e 74 6f |h cd.pop| cd into|
|000012d0| 20 67 57 68 65 72 65 46 | 72 6f 6d 0d 69 66 20 74 | gWhereF|rom.if t|
|000012e0| 68 65 72 65 20 69 73 20 | 61 20 63 64 20 32 20 6f |here is |a cd 2 o|
|000012f0| 66 20 62 67 20 22 73 75 | 69 74 65 49 6e 66 6f 22 |f bg "su|iteInfo"|
|00001300| 20 74 68 65 6e 0d 67 6f | 20 63 64 20 32 20 6f 66 | then.go| cd 2 of|
|00001310| 20 62 67 20 22 73 75 69 | 74 65 49 6e 66 6f 22 0d | bg "sui|teInfo".|
|00001320| 65 6c 73 65 0d 67 6f 20 | 62 67 20 22 73 75 69 74 |else.go |bg "suit|
|00001330| 65 49 6e 66 6f 22 0d 65 | 6e 64 20 69 66 0d 65 6e |eInfo".e|nd if.en|
|00001340| 64 20 41 45 53 75 69 74 | 65 73 42 67 0d 0d 6f 6e |d AESuit|esBg..on|
|00001350| 20 65 76 65 6e 74 73 42 | 67 0d 67 6c 6f 62 61 6c | eventsB|g.global|
|00001360| 20 67 57 68 65 72 65 46 | 72 6f 6d 0d 70 75 73 68 | gWhereF|rom.push|
|00001370| 20 63 64 0d 70 6f 70 20 | 63 64 20 69 6e 74 6f 20 | cd.pop |cd into |
|00001380| 67 57 68 65 72 65 46 72 | 6f 6d 0d 69 66 20 74 68 |gWhereFr|om.if th|
|00001390| 65 72 65 20 69 73 20 61 | 20 63 64 20 32 20 6f 66 |ere is a| cd 2 of|
|000013a0| 20 62 67 20 22 65 76 65 | 6e 74 73 22 20 74 68 65 | bg "eve|nts" the|
|000013b0| 6e 0d 67 6f 20 63 64 20 | 32 20 6f 66 20 62 67 20 |n.go cd |2 of bg |
|000013c0| 22 65 76 65 6e 74 73 22 | 0d 65 6c 73 65 0d 67 6f |"events"|.else.go|
|000013d0| 20 62 67 20 22 65 76 65 | 6e 74 73 22 0d 65 6e 64 | bg "eve|nts".end|
|000013e0| 20 69 66 0d 65 6e 64 20 | 65 76 65 6e 74 73 42 67 | if.end |eventsBg|
|000013f0| 0d 0d 6f 6e 20 63 6c 61 | 73 73 42 67 0d 67 6c 6f |..on cla|ssBg.glo|
|00001400| 62 61 6c 20 67 57 68 65 | 72 65 46 72 6f 6d 0d 70 |bal gWhe|reFrom.p|
|00001410| 75 73 68 20 63 64 0d 70 | 6f 70 20 63 64 20 69 6e |ush cd.p|op cd in|
|00001420| 74 6f 20 67 57 68 65 72 | 65 46 72 6f 6d 0d 69 66 |to gWher|eFrom.if|
|00001430| 20 74 68 65 72 65 20 69 | 73 20 61 20 63 64 20 32 | there i|s a cd 2|
|00001440| 20 6f 66 20 62 67 20 22 | 63 6c 61 73 73 22 20 74 | of bg "|class" t|
|00001450| 68 65 6e 0d 67 6f 20 63 | 64 20 32 20 6f 66 20 62 |hen.go c|d 2 of b|
|00001460| 67 20 22 63 6c 61 73 73 | 22 0d 65 6c 73 65 0d 67 |g "class|".else.g|
|00001470| 6f 20 62 67 20 22 63 6c | 61 73 73 22 0d 65 6e 64 |o bg "cl|ass".end|
|00001480| 20 69 66 0d 65 6e 64 20 | 63 6c 61 73 73 42 67 0d | if.end |classBg.|
|00001490| 0d 6f 6e 20 65 6e 75 6d | 42 67 0d 67 6c 6f 62 61 |.on enum|Bg.globa|
|000014a0| 6c 20 67 57 68 65 72 65 | 46 72 6f 6d 0d 70 75 73 |l gWhere|From.pus|
|000014b0| 68 20 63 64 0d 70 6f 70 | 20 63 64 20 69 6e 74 6f |h cd.pop| cd into|
|000014c0| 20 67 57 68 65 72 65 46 | 72 6f 6d 0d 69 66 20 74 | gWhereF|rom.if t|
|000014d0| 68 65 72 65 20 69 73 20 | 61 20 63 64 20 32 20 6f |here is |a cd 2 o|
|000014e0| 66 20 62 67 20 22 65 6e | 75 6d 65 72 61 74 69 6f |f bg "en|umeratio|
|000014f0| 6e 22 20 74 68 65 6e 0d | 67 6f 20 63 64 20 32 20 |n" then.|go cd 2 |
|00001500| 6f 66 20 62 67 20 22 65 | 6e 75 6d 65 72 61 74 69 |of bg "e|numerati|
|00001510| 6f 6e 22 0d 65 6c 73 65 | 0d 67 6f 20 62 67 20 22 |on".else|.go bg "|
|00001520| 65 6e 75 6d 65 72 61 74 | 69 6f 6e 22 0d 65 6e 64 |enumerat|ion".end|
|00001530| 20 69 66 0d 65 6e 64 20 | 65 6e 75 6d 42 67 0d 0d | if.end |enumBg..|
|00001540| 6f 6e 20 63 6f 6d 70 61 | 72 69 73 6f 6e 42 67 0d |on compa|risonBg.|
|00001550| 67 6c 6f 62 61 6c 20 67 | 57 68 65 72 65 46 72 6f |global g|WhereFro|
|00001560| 6d 0d 70 75 73 68 20 63 | 64 0d 70 6f 70 20 63 64 |m.push c|d.pop cd|
|00001570| 20 69 6e 74 6f 20 67 57 | 68 65 72 65 46 72 6f 6d | into gW|hereFrom|
|00001580| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 63 |.if ther|e is a c|
|00001590| 64 20 32 20 6f 66 20 62 | 67 20 22 63 6f 6d 70 61 |d 2 of b|g "compa|
|000015a0| 72 69 73 6f 6e 22 20 74 | 68 65 6e 0d 67 6f 20 63 |rison" t|hen.go c|
|000015b0| 64 20 32 20 6f 66 20 62 | 67 20 22 63 6f 6d 70 61 |d 2 of b|g "compa|
|000015c0| 72 69 73 6f 6e 22 0d 65 | 6c 73 65 0d 67 6f 20 62 |rison".e|lse.go b|
|000015d0| 67 20 22 63 6f 6d 70 61 | 72 69 73 6f 6e 22 0d 65 |g "compa|rison".e|
|000015e0| 6e 64 20 69 66 0d 65 6e | 64 20 63 6f 6d 70 61 72 |nd if.en|d compar|
|000015f0| 69 73 6f 6e 42 67 0d 0d | 6f 6e 20 6d 61 6b 65 4e |isonBg..|on makeN|
|00001600| 65 77 53 74 61 63 6b 20 | 6e 65 77 57 69 6e 64 6f |ewStack |newWindo|
|00001610| 77 0d 67 65 74 20 74 68 | 65 20 73 68 69 66 74 4b |w.get th|e shiftK|
|00001620| 65 79 20 69 73 20 64 6f | 77 6e 0d 70 75 74 20 69 |ey is do|wn.put i|
|00001630| 74 20 69 6e 74 6f 20 73 | 68 69 66 74 44 6f 77 6e |t into s|hiftDown|
|00001640| 0d 61 73 6b 20 66 69 6c | 65 20 22 53 61 76 65 20 |.ask fil|e "Save |
|00001650| 61 20 6e 65 77 20 65 64 | 69 74 6f 72 20 73 74 61 |a new ed|itor sta|
|00001660| 63 6b 20 61 73 3a 22 0d | 69 66 20 74 68 65 20 72 |ck as:".|if the r|
|00001670| 65 73 75 6c 74 20 69 73 | 20 22 43 61 6e 63 65 6c |esult is| "Cancel|
|00001680| 22 20 74 68 65 6e 20 65 | 78 69 74 20 6d 61 6b 65 |" then e|xit make|
|00001690| 4e 65 77 53 74 61 63 6b | 0d 69 66 20 69 74 20 69 |NewStack|.if it i|
|000016a0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 61 6e 73 |s empty |then.ans|
|000016b0| 77 65 72 20 22 59 6f 75 | 20 68 61 76 65 20 74 6f |wer "You| have to|
|000016c0| 20 73 75 70 70 6c 79 20 | 61 20 6e 61 6d 65 2e 22 | supply |a name."|
|000016d0| 0d 61 73 6b 20 66 69 6c | 65 20 22 43 72 65 61 74 |.ask fil|e "Creat|
|000016e0| 65 20 61 20 6e 65 77 20 | 73 74 61 63 6b 20 61 73 |e a new |stack as|
|000016f0| 22 0d 65 6e 64 20 69 66 | 0d 69 66 20 74 68 65 20 |".end if|.if the |
|00001700| 66 72 65 65 73 69 7a 65 | 20 6f 66 20 74 68 69 73 |freesize| of this|
|00001710| 20 73 74 61 63 6b 20 3e | 20 33 32 37 36 38 20 74 | stack >| 32768 t|
|00001720| 68 65 6e 20 64 6f 4d 65 | 6e 75 20 22 43 6f 6d 70 |hen doMe|nu "Comp|
|00001730| 61 63 74 20 53 74 61 63 | 6b 22 0d 73 61 76 65 20 |act Stac|k".save |
|00001740| 74 68 69 73 20 73 74 61 | 63 6b 20 61 73 20 69 74 |this sta|ck as it|
|00001750| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 3c |.if the |result <|
|00001760| 3e 20 22 22 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |> "" the|n.answer|
|00001770| 20 22 49 74 20 66 61 69 | 6c 73 2c 22 20 26 26 20 | "It fai|ls," && |
|00001780| 74 68 65 20 72 65 73 75 | 6c 74 0d 65 78 69 74 20 |the resu|lt.exit |
|00001790| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 65 6e 64 |to Hyper|Card.end|
|000017a0| 20 69 66 0d 69 66 20 73 | 68 69 66 74 44 6f 77 6e | if.if s|hiftDown|
|000017b0| 20 74 68 65 6e 0d 67 6f | 20 73 74 61 63 6b 20 69 | then.go| stack i|
|000017c0| 74 20 69 6e 20 61 20 6e | 65 77 20 77 69 6e 64 6f |t in a n|ew windo|
|000017d0| 77 0d 70 75 74 20 74 68 | 65 20 6c 6f 63 20 6f 66 |w.put th|e loc of|
|000017e0| 20 63 64 20 77 69 6e 64 | 6f 77 20 69 6e 74 6f 20 | cd wind|ow into |
|000017f0| 77 69 6e 64 4c 6f 63 0d | 73 65 74 20 74 68 65 20 |windLoc.|set the |
|00001800| 6c 6f 63 20 6f 66 20 63 | 64 20 77 69 6e 64 6f 77 |loc of c|d window|
|00001810| 20 74 6f 20 69 74 65 6d | 20 31 20 6f 66 20 77 69 | to item| 1 of wi|
|00001820| 6e 64 4c 6f 63 20 2b 32 | 30 2c 20 69 74 65 6d 20 |ndLoc +2|0, item |
|00001830| 32 20 6f 66 20 77 69 6e | 64 4c 6f 63 20 2b 32 30 |2 of win|dLoc +20|
|00001840| 0d 65 6c 73 65 0d 69 66 | 20 6e 65 77 57 69 6e 64 |.else.if| newWind|
|00001850| 6f 77 20 3c 3e 20 74 72 | 75 65 20 74 68 65 6e 0d |ow <> tr|ue then.|
|00001860| 67 6f 20 73 74 61 63 6b | 20 69 74 0d 65 6c 73 65 |go stack| it.else|
|00001870| 0d 67 6f 20 73 74 61 63 | 6b 20 69 74 20 69 6e 20 |.go stac|k it in |
|00001880| 61 20 6e 65 77 20 77 69 | 6e 64 6f 77 0d 70 75 74 |a new wi|ndow.put|
|00001890| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 63 64 20 77 | the loc| of cd w|
|000018a0| 69 6e 64 6f 77 20 69 6e | 74 6f 20 77 69 6e 64 4c |indow in|to windL|
|000018b0| 6f 63 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 20 6f |oc.set t|he loc o|
|000018c0| 66 20 63 64 20 77 69 6e | 64 6f 77 20 74 6f 20 69 |f cd win|dow to i|
|000018d0| 74 65 6d 20 31 20 6f 66 | 20 77 69 6e 64 4c 6f 63 |tem 1 of| windLoc|
|000018e0| 20 2b 32 30 2c 20 69 74 | 65 6d 20 32 20 6f 66 20 | +20, it|em 2 of |
|000018f0| 77 69 6e 64 4c 6f 63 20 | 2b 32 30 0d 65 6e 64 20 |windLoc |+20.end |
|00001900| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6d 70 74 79 53 |if.end i|f.emptyS|
|00001910| 74 61 63 6b 20 79 65 73 | 0d 65 6e 64 20 6d 61 6b |tack yes|.end mak|
|00001920| 65 4e 65 77 53 74 61 63 | 6b 0d 0d 6f 6e 20 6c 6f |eNewStac|k..on lo|
|00001930| 63 61 6c 69 7a 65 49 74 | 0d 61 73 6b 20 66 69 6c |calizeIt|.ask fil|
|00001940| 65 20 22 43 72 65 61 74 | 65 20 74 72 61 6e 73 6c |e "Creat|e transl|
|00001950| 61 74 69 6f 6e 20 73 74 | 61 63 6b 20 77 68 65 72 |ation st|ack wher|
|00001960| 65 3f 22 20 77 69 74 68 | 20 28 28 73 68 6f 72 74 |e?" with| ((short|
|00001970| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00001980| 61 63 6b 29 20 26 26 20 | 22 4c 6f 63 61 6c 69 7a |ack) && |"Localiz|
|00001990| 65 64 22 29 0d 69 66 20 | 74 68 65 20 72 65 73 75 |ed").if |the resu|
|000019a0| 6c 74 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |lt is "C|ancel" t|
|000019b0| 68 65 6e 20 65 78 69 74 | 20 6c 6f 63 61 6c 69 7a |hen exit| localiz|
|000019c0| 65 49 74 0d 69 66 20 69 | 74 20 69 73 20 65 6d 70 |eIt.if i|t is emp|
|000019d0| 74 79 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |ty then.|answer "|
|000019e0| 59 6f 75 20 68 61 76 65 | 20 74 6f 20 73 75 70 70 |You have| to supp|
|000019f0| 6c 79 20 61 20 6e 61 6d | 65 2e 22 0d 61 73 6b 20 |ly a nam|e.".ask |
|00001a00| 66 69 6c 65 20 22 43 72 | 65 61 74 65 20 74 72 61 |file "Cr|eate tra|
|00001a10| 6e 73 6c 61 74 69 6f 6e | 20 73 74 61 63 6b 20 77 |nslation| stack w|
|00001a20| 68 65 72 65 3f 22 0d 65 | 6e 64 20 69 66 0d 69 66 |here?".e|nd if.if|
|00001a30| 20 74 68 65 20 66 72 65 | 65 73 69 7a 65 20 6f 66 | the fre|esize of|
|00001a40| 20 74 68 69 73 20 73 74 | 61 63 6b 20 3e 20 33 32 | this st|ack > 32|
|00001a50| 37 36 38 20 74 68 65 6e | 20 64 6f 4d 65 6e 75 20 |768 then| doMenu |
|00001a60| 22 43 6f 6d 70 61 63 74 | 20 53 74 61 63 6b 22 0d |"Compact| Stack".|
|00001a70| 73 61 76 65 20 74 68 69 | 73 20 73 74 61 63 6b 20 |save thi|s stack |
|00001a80| 61 73 20 69 74 0d 69 66 | 20 74 68 65 20 72 65 73 |as it.if| the res|
|00001a90| 75 6c 74 20 3c 3e 20 22 | 22 20 74 68 65 6e 0d 61 |ult <> "|" then.a|
|00001aa0| 6e 73 77 65 72 20 22 49 | 74 20 66 61 69 6c 73 2c |nswer "I|t fails,|
|00001ab0| 22 20 26 26 20 74 68 65 | 20 72 65 73 75 6c 74 0d |" && the| result.|
|00001ac0| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 43 61 72 |exit to |HyperCar|
|00001ad0| 64 0d 65 6e 64 20 69 66 | 0d 67 6f 20 73 74 61 63 |d.end if|.go stac|
|00001ae0| 6b 20 69 74 20 69 6e 20 | 61 20 6e 65 77 20 77 69 |k it in |a new wi|
|00001af0| 6e 64 6f 77 0d 70 75 74 | 20 74 68 65 20 6c 6f 63 |ndow.put| the loc|
|00001b00| 20 6f 66 20 63 64 20 77 | 69 6e 64 6f 77 20 69 6e | of cd w|indow in|
|00001b10| 74 6f 20 77 69 6e 64 4c | 6f 63 0d 73 65 74 20 74 |to windL|oc.set t|
|00001b20| 68 65 20 6c 6f 63 20 6f | 66 20 63 64 20 77 69 6e |he loc o|f cd win|
|00001b30| 64 6f 77 20 74 6f 20 69 | 74 65 6d 20 31 20 6f 66 |dow to i|tem 1 of|
|00001b40| 20 77 69 6e 64 4c 6f 63 | 20 2b 32 30 2c 20 69 74 | windLoc| +20, it|
|00001b50| 65 6d 20 32 20 6f 66 20 | 77 69 6e 64 4c 6f 63 20 |em 2 of |windLoc |
|00001b60| 2b 32 30 0d 4c 6f 63 61 | 6c 69 7a 61 74 69 6f 6e |+20.Loca|lization|
|00001b70| 20 66 61 6c 73 65 0d 65 | 6e 64 20 6c 6f 63 61 6c | false.e|nd local|
|00001b80| 69 7a 65 49 74 0d 0d 6f | 6e 20 6f 70 65 6e 73 74 |izeIt..o|n openst|
|00001b90| 61 63 6b 0d 67 6c 6f 62 | 61 6c 20 69 6e 45 64 69 |ack.glob|al inEdi|
|00001ba0| 74 2c 20 67 44 65 6c 65 | 74 65 53 75 69 74 65 0d |t, gDele|teSuite.|
|00001bb0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 67 |put fals|e into g|
|00001bc0| 44 65 6c 65 74 65 53 75 | 69 74 65 0d 70 75 74 20 |DeleteSu|ite.put |
|00001bd0| 74 72 75 65 20 69 6e 74 | 6f 20 69 6e 45 64 69 74 |true int|o inEdit|
|00001be0| 0d 69 66 20 74 68 65 20 | 73 63 72 65 65 6e 52 65 |.if the |screenRe|
|00001bf0| 63 74 20 69 73 20 22 30 | 2c 30 2c 35 31 32 2c 33 |ct is "0|,0,512,3|
|00001c00| 34 32 22 20 74 68 65 6e | 20 73 65 74 20 74 68 65 |42" then| set the|
|00001c10| 20 6c 6f 63 20 6f 66 20 | 63 64 20 77 69 6e 64 6f | loc of |cd windo|
|00001c20| 77 20 74 6f 20 22 30 2c | 30 22 0d 69 66 20 74 68 |w to "0,|0".if th|
|00001c30| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 69 73 20 31 |e userLe|vel is 1|
|00001c40| 20 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 75 73 | then se|t the us|
|00001c50| 65 72 4c 65 76 65 6c 20 | 74 6f 20 32 0d 41 65 74 |erLevel |to 2.Aet|
|00001c60| 65 45 64 74 69 6f 72 4d | 65 6e 75 0d 43 68 65 63 |eEdtiorM|enu.Chec|
|00001c70| 6b 50 72 65 66 65 72 65 | 6e 63 65 0d 65 6e 64 20 |kPrefere|nce.end |
|00001c80| 6f 70 65 6e 73 74 61 63 | 6b 0d 0d 6f 6e 20 63 6c |openstac|k..on cl|
|00001c90| 6f 73 65 43 61 72 64 0d | 68 6d 52 65 6d 6f 76 65 |oseCard.|hmRemove|
|00001ca0| 42 61 6c 6c 6f 6f 6e 0d | 70 61 73 73 20 63 6c 6f |Balloon.|pass clo|
|00001cb0| 73 65 43 61 72 64 0d 65 | 6e 64 20 63 6c 6f 73 65 |seCard.e|nd close|
|00001cc0| 43 61 72 64 0d 0d 6f 6e | 20 63 6c 6f 73 65 53 74 |Card..on| closeSt|
|00001cd0| 61 63 6b 0d 72 65 73 65 | 74 20 6d 65 6e 75 42 61 |ack.rese|t menuBa|
|00001ce0| 72 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |r.if the|re is a |
|00001cf0| 77 69 6e 64 6f 77 20 22 | 52 65 67 69 73 74 72 79 |window "|Registry|
|00001d00| 20 43 6f 6e 73 74 61 6e | 74 73 22 0d 74 68 65 6e | Constan|ts".then|
|00001d10| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 22 52 | close w|indow "R|
|00001d20| 65 67 69 73 74 72 79 20 | 43 6f 6e 73 74 61 6e 74 |egistry |Constant|
|00001d30| 73 22 0d 69 66 20 74 68 | 65 20 66 72 65 65 73 69 |s".if th|e freesi|
|00001d40| 7a 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |ze of th|is stack|
|00001d50| 20 3e 20 33 32 37 36 38 | 20 74 68 65 6e 20 64 6f | > 32768| then do|
|00001d60| 4d 65 6e 75 20 22 43 6f | 6d 70 61 63 74 20 53 74 |Menu "Co|mpact St|
|00001d70| 61 63 6b 22 0d 65 6e 64 | 20 63 6c 6f 73 65 53 74 |ack".end| closeSt|
|00001d80| 61 63 6b 0d 0d 66 75 6e | 63 74 69 6f 6e 20 50 72 |ack..fun|ction Pr|
|00001d90| 65 66 65 72 43 6c 69 65 | 6e 74 4c 61 6e 67 42 75 |eferClie|ntLangBu|
|00001da0| 74 74 6f 6e 49 44 0d 72 | 65 74 75 72 6e 20 22 35 |ttonID.r|eturn "5|
|00001db0| 2c 36 2c 37 2c 31 33 2c | 35 37 22 0d 65 6e 64 20 |,6,7,13,|57".end |
|00001dc0| 50 72 65 66 65 72 43 6c | 69 65 6e 74 4c 61 6e 67 |PreferCl|ientLang|
|00001dd0| 42 75 74 74 6f 6e 49 44 | 0d 0d 66 75 6e 63 74 69 |ButtonID|..functi|
|00001de0| 6f 6e 20 50 72 65 66 65 | 72 53 65 72 76 65 72 4c |on Prefe|rServerL|
|00001df0| 61 6e 67 42 75 74 74 6f | 6e 49 44 0d 72 65 74 75 |angButto|nID.retu|
|00001e00| 72 6e 20 22 32 2c 33 2c | 31 30 22 0d 65 6e 64 20 |rn "2,3,|10".end |
|00001e10| 50 72 65 66 65 72 53 65 | 72 76 65 72 4c 61 6e 67 |PreferSe|rverLang|
|00001e20| 42 75 74 74 6f 6e 49 44 | 0d 0d 6f 6e 20 43 68 65 |ButtonID|..on Che|
|00001e30| 63 6b 50 72 65 66 65 72 | 65 6e 63 65 0d 67 6c 6f |ckPrefer|ence.glo|
|00001e40| 62 61 6c 20 64 65 66 61 | 75 6c 74 54 69 6d 65 6f |bal defa|ultTimeo|
|00001e50| 75 74 2c 64 65 66 61 75 | 6c 74 54 61 72 67 65 74 |ut,defau|ltTarget|
|00001e60| 2c 64 65 66 61 75 6c 74 | 53 65 6e 64 4d 6f 64 65 |,default|SendMode|
|00001e70| 2c 64 65 66 61 75 6c 74 | 49 64 6c 65 50 72 6f 63 |,default|IdleProc|
|00001e80| 2c 64 65 66 61 75 6c 74 | 41 45 46 69 6c 74 65 72 |,default|AEFilter|
|00001e90| 2c 64 65 66 61 75 6c 74 | 54 61 72 67 65 74 44 65 |,default|TargetDe|
|00001ea0| 73 63 0d 67 6c 6f 62 61 | 6c 20 73 65 72 76 65 72 |sc.globa|l server|
|00001eb0| 4c 61 6e 67 2c 63 6c 69 | 65 6e 74 4c 61 6e 67 2c |Lang,cli|entLang,|
|00001ec0| 63 6c 69 65 6e 74 48 61 | 73 47 6c 75 65 2c 76 65 |clientHa|sGlue,ve|
|00001ed0| 72 62 6f 73 65 0d 70 75 | 74 20 50 72 65 66 65 72 |rbose.pu|t Prefer|
|00001ee0| 43 6c 69 65 6e 74 4c 61 | 6e 67 42 75 74 74 6f 6e |ClientLa|ngButton|
|00001ef0| 49 44 28 29 20 69 6e 74 | 6f 20 74 68 65 4c 69 73 |ID() int|o theLis|
|00001f00| 74 0d 70 75 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t.put nu|mber of |
|00001f10| 69 74 65 6d 73 20 69 6e | 20 74 68 65 4c 69 73 74 |items in| theList|
|00001f20| 20 69 6e 74 6f 20 6e 0d | 72 65 70 65 61 74 20 77 | into n.|repeat w|
|00001f30| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 0d 69 |ith i = |1 to n.i|
|00001f40| 66 20 68 69 6c 69 74 65 | 20 6f 66 20 63 61 72 64 |f hilite| of card|
|00001f50| 20 62 75 74 74 6f 6e 20 | 69 64 20 28 69 74 65 6d | button |id (item|
|00001f60| 20 69 20 6f 66 20 74 68 | 65 4c 69 73 74 29 20 6f | i of th|eList) o|
|00001f70| 66 20 63 61 72 64 20 22 | 70 72 65 66 65 72 65 6e |f card "|preferen|
|00001f80| 63 65 22 20 74 68 65 6e | 0d 70 75 74 20 73 68 6f |ce" then|.put sho|
|00001f90| 72 74 20 6e 61 6d 65 20 | 6f 66 20 63 61 72 64 20 |rt name |of card |
|00001fa0| 62 75 74 74 6f 6e 20 69 | 64 20 28 69 74 65 6d 20 |button i|d (item |
|00001fb0| 69 20 6f 66 20 74 68 65 | 4c 69 73 74 29 20 6f 66 |i of the|List) of|
|00001fc0| 20 63 61 72 64 20 22 70 | 72 65 66 65 72 65 6e 63 | card "p|referenc|
|00001fd0| 65 22 20 69 6e 74 6f 20 | 63 6c 69 65 6e 74 4c 61 |e" into |clientLa|
|00001fe0| 6e 67 0d 65 78 69 74 20 | 72 65 70 65 61 74 0d 65 |ng.exit |repeat.e|
|00001ff0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00002000| 0d 70 75 74 20 50 72 65 | 66 65 72 53 65 72 76 65 |.put Pre|ferServe|
|00002010| 72 4c 61 6e 67 42 75 74 | 74 6f 6e 49 44 28 29 20 |rLangBut|tonID() |
|00002020| 69 6e 74 6f 20 74 68 65 | 4c 69 73 74 0d 70 75 74 |into the|List.put|
|00002030| 20 6e 75 6d 62 65 72 20 | 6f 66 20 69 74 65 6d 73 | number |of items|
|00002040| 20 69 6e 20 74 68 65 4c | 69 73 74 20 69 6e 74 6f | in theL|ist into|
|00002050| 20 6e 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 | n.repea|t with i|
|00002060| 20 3d 20 31 20 74 6f 20 | 6e 0d 69 66 20 68 69 6c | = 1 to |n.if hil|
|00002070| 69 74 65 20 6f 66 20 63 | 61 72 64 20 62 75 74 74 |ite of c|ard butt|
|00002080| 6f 6e 20 69 64 20 28 69 | 74 65 6d 20 69 20 6f 66 |on id (i|tem i of|
|00002090| 20 74 68 65 4c 69 73 74 | 29 20 6f 66 20 63 61 72 | theList|) of car|
|000020a0| 64 20 22 70 72 65 66 65 | 72 65 6e 63 65 22 20 74 |d "prefe|rence" t|
|000020b0| 68 65 6e 0d 70 75 74 20 | 73 68 6f 72 74 20 6e 61 |hen.put |short na|
|000020c0| 6d 65 20 6f 66 20 63 61 | 72 64 20 62 75 74 74 6f |me of ca|rd butto|
|000020d0| 6e 20 69 64 20 28 69 74 | 65 6d 20 69 20 6f 66 20 |n id (it|em i of |
|000020e0| 74 68 65 4c 69 73 74 29 | 20 6f 66 20 63 61 72 64 |theList)| of card|
|000020f0| 20 22 70 72 65 66 65 72 | 65 6e 63 65 22 20 69 6e | "prefer|ence" in|
|00002100| 74 6f 20 73 65 72 76 65 | 72 4c 61 6e 67 0d 65 78 |to serve|rLang.ex|
|00002110| 69 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |it repea|t.end if|
|00002120| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 75 74 20 |.end rep|eat.put |
|00002130| 68 69 6c 69 74 65 20 6f | 66 20 63 61 72 64 20 62 |hilite o|f card b|
|00002140| 75 74 74 6f 6e 20 22 68 | 61 73 20 67 6c 75 65 20 |utton "h|as glue |
|00002150| 73 75 62 72 6f 75 74 69 | 6e 65 22 20 6f 66 20 63 |subrouti|ne" of c|
|00002160| 61 72 64 20 22 70 72 65 | 66 65 72 65 6e 63 65 22 |ard "pre|ference"|
|00002170| 20 69 6e 74 6f 20 63 6c | 69 65 6e 74 48 61 73 47 | into cl|ientHasG|
|00002180| 6c 75 65 0d 70 75 74 20 | 68 69 6c 69 74 65 20 6f |lue.put |hilite o|
|00002190| 66 20 63 61 72 64 20 62 | 75 74 74 6f 6e 20 22 76 |f card b|utton "v|
|000021a0| 65 72 62 6f 73 65 22 20 | 6f 66 20 63 61 72 64 20 |erbose" |of card |
|000021b0| 22 70 72 65 66 65 72 65 | 6e 63 65 22 20 69 6e 74 |"prefere|nce" int|
|000021c0| 6f 20 76 65 72 62 6f 73 | 65 0d 70 75 74 20 63 61 |o verbos|e.put ca|
|000021d0| 72 64 20 66 69 65 6c 64 | 20 22 74 69 6d 65 4f 75 |rd field| "timeOu|
|000021e0| 74 22 20 6f 66 20 63 61 | 72 64 20 22 70 72 65 66 |t" of ca|rd "pref|
|000021f0| 65 72 65 6e 63 65 22 20 | 69 6e 74 6f 20 64 65 66 |erence" |into def|
|00002200| 61 75 6c 74 54 69 6d 65 | 6f 75 74 0d 70 75 74 20 |aultTime|out.put |
|00002210| 63 61 72 64 20 66 69 65 | 6c 64 20 22 73 65 6e 64 |card fie|ld "send|
|00002220| 54 61 72 67 65 74 22 20 | 6f 66 20 63 61 72 64 20 |Target" |of card |
|00002230| 22 70 72 65 66 65 72 65 | 6e 63 65 22 20 69 6e 74 |"prefere|nce" int|
|00002240| 6f 20 64 65 66 61 75 6c | 74 54 61 72 67 65 74 0d |o defaul|tTarget.|
|00002250| 70 75 74 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 |put card| field "|
|00002260| 74 61 72 67 65 74 44 65 | 73 63 22 20 6f 66 20 63 |targetDe|sc" of c|
|00002270| 61 72 64 20 22 70 72 65 | 66 65 72 65 6e 63 65 22 |ard "pre|ference"|
|00002280| 20 69 6e 74 6f 20 64 65 | 66 61 75 6c 74 54 61 72 | into de|faultTar|
|00002290| 67 65 74 44 65 73 63 0d | 70 75 74 20 63 61 72 64 |getDesc.|put card|
|000022a0| 20 66 69 65 6c 64 20 22 | 73 65 6e 64 4d 6f 64 65 | field "|sendMode|
|000022b0| 22 20 6f 66 20 63 61 72 | 64 20 22 70 72 65 66 65 |" of car|d "prefe|
|000022c0| 72 65 6e 63 65 22 20 69 | 6e 74 6f 20 64 65 66 61 |rence" i|nto defa|
|000022d0| 75 6c 74 53 65 6e 64 4d | 6f 64 65 0d 70 75 74 20 |ultSendM|ode.put |
|000022e0| 63 61 72 64 20 66 69 65 | 6c 64 20 22 69 64 6c 65 |card fie|ld "idle|
|000022f0| 50 72 6f 63 22 20 6f 66 | 20 63 61 72 64 20 22 70 |Proc" of| card "p|
|00002300| 72 65 66 65 72 65 6e 63 | 65 22 20 69 6e 74 6f 20 |referenc|e" into |
|00002310| 64 65 66 61 75 6c 74 49 | 64 6c 65 50 72 6f 63 0d |defaultI|dleProc.|
|00002320| 70 75 74 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 |put card| field "|
|00002330| 61 65 46 69 6c 74 65 72 | 22 20 6f 66 20 63 61 72 |aeFilter|" of car|
|00002340| 64 20 22 70 72 65 66 65 | 72 65 6e 63 65 22 20 69 |d "prefe|rence" i|
|00002350| 6e 74 6f 20 64 65 66 61 | 75 6c 74 41 45 46 69 6c |nto defa|ultAEFil|
|00002360| 74 65 72 0d 65 6e 64 20 | 43 68 65 63 6b 50 72 65 |ter.end |CheckPre|
|00002370| 66 65 72 65 6e 63 65 0d | 0d 66 75 6e 63 74 69 6f |ference.|.functio|
|00002380| 6e 20 53 74 72 69 70 53 | 50 20 78 2c 20 6c 6f 77 |n StripS|P x, low|
|00002390| 65 72 43 61 73 65 0d 70 | 75 74 20 43 68 61 72 54 |erCase.p|ut CharT|
|000023a0| 6f 4e 75 6d 28 63 68 61 | 72 20 31 20 6f 66 20 78 |oNum(cha|r 1 of x|
|000023b0| 29 20 69 6e 74 6f 20 6e | 0d 69 66 20 6c 6f 77 65 |) into n|.if lowe|
|000023c0| 72 43 61 73 65 20 3d 20 | 74 72 75 65 20 74 68 65 |rCase = |true the|
|000023d0| 6e 0d 69 66 20 28 6e 20 | 3e 3d 20 36 35 29 20 61 |n.if (n |>= 65) a|
|000023e0| 6e 64 20 28 6e 20 3c 3d | 20 39 30 29 20 74 68 65 |nd (n <=| 90) the|
|000023f0| 6e 0d 70 75 74 20 4e 75 | 6d 54 6f 43 68 61 72 28 |n.put Nu|mToChar(|
|00002400| 6e 2b 33 32 29 20 69 6e | 74 6f 20 63 68 61 72 20 |n+32) in|to char |
|00002410| 31 20 6f 66 20 78 0d 65 | 6e 64 20 69 66 0d 65 6c |1 of x.e|nd if.el|
|00002420| 73 65 0d 69 66 20 28 6e | 20 3e 3d 20 39 37 29 20 |se.if (n| >= 97) |
|00002430| 61 6e 64 20 28 6e 20 3c | 3d 20 31 32 32 29 20 74 |and (n <|= 122) t|
|00002440| 68 65 6e 0d 70 75 74 20 | 4e 75 6d 54 6f 43 68 61 |hen.put |NumToCha|
|00002450| 72 28 6e 2d 33 32 29 20 | 69 6e 74 6f 20 63 68 61 |r(n-32) |into cha|
|00002460| 72 20 31 20 6f 66 20 78 | 0d 65 6e 64 20 69 66 0d |r 1 of x|.end if.|
|00002470| 65 6e 64 20 69 66 0d 72 | 65 70 65 61 74 20 75 6e |end if.r|epeat un|
|00002480| 74 69 6c 20 69 20 3d 20 | 30 0d 70 75 74 20 6f 66 |til i = |0.put of|
|00002490| 66 73 65 74 28 73 70 61 | 63 65 2c 20 78 29 20 69 |fset(spa|ce, x) i|
|000024a0| 6e 74 6f 20 69 0d 69 66 | 20 69 20 3e 20 30 20 74 |nto i.if| i > 0 t|
|000024b0| 68 65 6e 0d 70 75 74 20 | 43 68 61 72 54 6f 4e 75 |hen.put |CharToNu|
|000024c0| 6d 28 63 68 61 72 20 28 | 69 2b 31 29 20 6f 66 20 |m(char (|i+1) of |
|000024d0| 78 29 20 69 6e 74 6f 20 | 6e 0d 69 66 20 28 6e 20 |x) into |n.if (n |
|000024e0| 3e 3d 20 39 37 29 20 61 | 6e 64 20 28 6e 20 3c 3d |>= 97) a|nd (n <=|
|000024f0| 20 31 32 32 29 20 74 68 | 65 6e 0d 70 75 74 20 4e | 122) th|en.put N|
|00002500| 75 6d 54 6f 43 68 61 72 | 28 6e 2d 33 32 29 20 69 |umToChar|(n-32) i|
|00002510| 6e 74 6f 20 63 68 61 72 | 20 28 69 2b 31 29 20 6f |nto char| (i+1) o|
|00002520| 66 20 78 0d 65 6e 64 20 | 69 66 0d 64 65 6c 65 74 |f x.end |if.delet|
|00002530| 65 20 63 68 61 72 20 69 | 20 6f 66 20 78 0d 65 6e |e char i| of x.en|
|00002540| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00002550| 72 65 74 75 72 6e 20 78 | 0d 65 6e 64 20 53 74 72 |return x|.end Str|
|00002560| 69 70 53 50 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 48 |ipSP..fu|nction H|
|00002570| 54 4b 65 79 57 6f 72 64 | 20 69 6e 66 6f 0d 70 75 |TKeyWord| info.pu|
|00002580| 74 20 28 28 69 74 65 6d | 20 34 20 6f 66 20 69 6e |t ((item| 4 of in|
|00002590| 66 6f 29 20 64 69 76 20 | 38 31 39 32 29 20 6d 6f |fo) div |8192) mo|
|000025a0| 64 20 34 20 69 6e 74 6f | 20 74 65 6d 70 0d 69 66 |d 4 into| temp.if|
|000025b0| 20 74 65 6d 70 20 3e 20 | 31 20 74 68 65 6e 0d 70 | temp > |1 then.p|
|000025c0| 75 74 20 22 6c 69 73 74 | 22 20 69 6e 74 6f 20 74 |ut "list|" into t|
|000025d0| 68 69 73 54 79 70 65 0d | 65 6c 73 65 20 69 66 20 |hisType.|else if |
|000025e0| 74 65 6d 70 20 3d 20 31 | 20 74 68 65 6e 0d 70 75 |temp = 1| then.pu|
|000025f0| 74 20 22 65 6e 75 6d 22 | 20 69 6e 74 6f 20 74 68 |t "enum"| into th|
|00002600| 69 73 54 79 70 65 0d 65 | 6c 73 65 0d 70 75 74 20 |isType.e|lse.put |
|00002610| 52 65 73 54 79 70 65 28 | 69 74 65 6d 20 33 20 6f |ResType(|item 3 o|
|00002620| 66 20 69 6e 66 6f 29 20 | 69 6e 74 6f 20 74 68 69 |f info) |into thi|
|00002630| 73 54 79 70 65 0d 65 6e | 64 20 69 66 0d 2d 2d 20 |sType.en|d if.-- |
|00002640| 69 66 20 69 74 20 69 73 | 20 61 20 73 70 65 63 69 |if it is| a speci|
|00002650| 61 6c 20 74 79 70 65 2c | 20 77 65 20 6e 65 65 64 |al type,| we need|
|00002660| 20 74 6f 20 61 70 70 65 | 6e 64 20 74 79 70 65 20 | to appe|nd type |
|00002670| 61 66 74 65 72 20 6b 65 | 79 77 6f 72 64 0d 69 66 |after ke|yword.if|
|00002680| 20 28 74 68 69 73 54 79 | 70 65 20 3d 20 22 54 45 | (thisTy|pe = "TE|
|00002690| 58 54 22 29 20 4f 52 20 | 28 74 68 69 73 54 79 70 |XT") OR |(thisTyp|
|000026a0| 65 20 3d 20 22 6f 62 6a | 20 22 29 20 4f 52 20 28 |e = "obj| ") OR (|
|000026b0| 74 68 69 73 54 79 70 65 | 20 3d 20 22 6c 69 73 74 |thisType| = "list|
|000026c0| 22 29 20 6f 72 20 28 74 | 68 69 73 54 79 70 65 20 |") or (t|hisType |
|000026d0| 3d 20 22 6e 75 6c 6c 22 | 29 20 74 68 65 6e 0d 72 |= "null"|) then.r|
|000026e0| 65 74 75 72 6e 20 69 74 | 65 6d 20 32 20 6f 66 20 |eturn it|em 2 of |
|000026f0| 69 6e 66 6f 0d 65 6c 73 | 65 0d 72 65 74 75 72 6e |info.els|e.return|
|00002700| 20 52 65 73 54 79 70 65 | 28 69 74 65 6d 20 32 20 | ResType|(item 2 |
|00002710| 6f 66 20 69 6e 66 6f 29 | 20 26 20 54 68 69 73 54 |of info)| & ThisT|
|00002720| 79 70 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 48 |ype.end |if.end H|
|00002730| 54 4b 65 79 57 6f 72 64 | 0d 0d 6f 6e 20 69 64 6c |TKeyWord|..on idl|
|00002740| 65 0d 67 6c 6f 62 61 6c | 20 69 6e 45 64 69 74 0d |e.global| inEdit.|
|00002750| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 69 6e |put true| into in|
|00002760| 45 64 69 74 0d 65 6e 64 | 20 69 64 6c 65 0d 0d 66 |Edit.end| idle..f|
|00002770| 75 6e 63 74 69 6f 6e 20 | 52 65 73 54 79 70 65 20 |unction |ResType |
|00002780| 78 0d 72 65 74 75 72 6e | 20 63 68 61 72 20 31 20 |x.return| char 1 |
|00002790| 74 6f 20 34 20 6f 66 20 | 28 78 20 26 20 22 20 20 |to 4 of |(x & " |
|000027a0| 20 20 22 29 0d 65 6e 64 | 20 52 65 73 54 79 70 65 | ").end| ResType|
|000027b0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 6a 75 6d 70 20 |..functi|on jump |
|000027c0| 78 0d 67 6c 6f 62 61 6c | 20 67 57 68 65 72 65 46 |x.global| gWhereF|
|000027d0| 72 6f 6d 0d 70 75 73 68 | 20 63 64 0d 70 6f 70 20 |rom.push| cd.pop |
|000027e0| 63 64 20 69 6e 74 6f 20 | 67 57 68 65 72 65 46 72 |cd into |gWhereFr|
|000027f0| 6f 6d 0d 67 6f 20 63 61 | 72 64 20 78 0d 72 65 74 |om.go ca|rd x.ret|
|00002800| 75 72 6e 20 28 74 68 65 | 20 72 65 73 75 6c 74 20 |urn (the| result |
|00002810| 3d 20 22 22 29 0d 65 6e | 64 20 6a 75 6d 70 0d 0d |= "").en|d jump..|
|00002820| 6f 6e 20 4e 61 6d 65 49 | 74 20 78 0d 70 75 74 20 |on NameI|t x.put |
|00002830| 77 6f 72 64 20 31 20 6f | 66 20 78 20 69 6e 74 6f |word 1 o|f x into|
|00002840| 20 79 0d 64 65 6c 65 74 | 65 20 77 6f 72 64 20 31 | y.delet|e word 1|
|00002850| 20 6f 66 20 78 0d 69 66 | 20 28 69 74 65 6d 20 32 | of x.if| (item 2|
|00002860| 20 6f 66 20 78 20 3c 3e | 20 22 22 29 20 6f 72 20 | of x <>| "") or |
|00002870| 28 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 78 20 |(last ch|ar of x |
|00002880| 3d 20 22 2c 22 29 20 74 | 68 65 6e 0d 2d 2d 20 32 |= ",") t|hen.-- 2|
|00002890| 20 69 74 65 6d 73 20 6d | 65 61 6e 73 20 69 64 20 | items m|eans id |
|000028a0| 2b 20 6e 61 6d 65 2c 20 | 6a 75 73 74 20 6b 65 65 |+ name, |just kee|
|000028b0| 70 20 74 68 65 20 69 64 | 0d 64 65 6c 65 74 65 20 |p the id|.delete |
|000028c0| 69 74 65 6d 20 32 20 6f | 66 20 78 0d 65 6e 64 20 |item 2 o|f x.end |
|000028d0| 69 66 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |if.if th|ere is a|
|000028e0| 20 63 61 72 64 20 78 20 | 74 68 65 6e 0d 69 66 20 | card x |then.if |
|000028f0| 28 74 68 65 20 69 64 20 | 6f 66 20 74 68 69 73 20 |(the id |of this |
|00002900| 63 61 72 64 29 20 3c 3e | 20 28 74 68 65 20 69 64 |card) <>| (the id|
|00002910| 20 6f 66 20 63 61 72 64 | 20 78 29 20 74 68 65 6e | of card| x) then|
|00002920| 0d 61 6e 73 77 65 72 20 | 22 54 68 65 20 49 44 20 |.answer |"The ID |
|00002930| 6f 66 20 74 68 69 73 22 | 20 26 26 20 79 20 26 26 |of this"| && y &&|
|00002940| 20 22 61 6c 72 65 61 64 | 79 20 65 78 69 73 74 73 | "alread|y exists|
|00002950| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |".end if|.end if.|
|00002960| 73 65 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |set name| of this|
|00002970| 20 63 61 72 64 20 74 6f | 20 78 0d 65 6e 64 20 4e | card to| x.end N|
|00002980| 61 6d 65 49 74 0d 0d 6f | 6e 20 43 68 61 6e 67 65 |ameIt..o|n Change|
|00002990| 4e 61 6d 65 20 6f 6c 64 | 4e 61 6d 65 2c 20 6e 65 |Name old|Name, ne|
|000029a0| 77 4e 61 6d 65 2c 20 6c | 69 73 74 4e 61 6d 65 0d |wName, l|istName.|
|000029b0| 2d 2d 20 63 68 61 6e 67 | 65 20 6f 6c 64 4e 61 6d |-- chang|e oldNam|
|000029c0| 65 20 69 6e 20 66 69 65 | 6c 64 20 6c 69 73 74 4e |e in fie|ld listN|
|000029d0| 61 6d 65 20 74 6f 20 6e | 65 77 4e 61 6d 65 0d 70 |ame to n|ewName.p|
|000029e0| 75 74 20 77 6f 72 64 20 | 31 20 6f 66 20 6f 6c 64 |ut word |1 of old|
|000029f0| 4e 61 6d 65 20 69 6e 74 | 6f 20 73 75 69 74 65 6e |Name int|o suiten|
|00002a00| 61 6d 65 0d 64 65 6c 65 | 74 65 20 77 6f 72 64 20 |ame.dele|te word |
|00002a10| 31 20 74 6f 20 32 20 6f | 66 20 6f 6c 64 4e 61 6d |1 to 2 o|f oldNam|
|00002a20| 65 0d 69 66 20 28 69 74 | 65 6d 20 32 20 6f 66 20 |e.if (it|em 2 of |
|00002a30| 6f 6c 64 4e 61 6d 65 20 | 3d 20 22 22 29 20 61 6e |oldName |= "") an|
|00002a40| 64 20 28 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |d (last |char of |
|00002a50| 6f 6c 64 4e 61 6d 65 20 | 3c 3e 20 22 2c 22 29 20 |oldName |<> ",") |
|00002a60| 74 68 65 6e 0d 2d 2d 20 | 6f 6e 6c 79 20 31 20 69 |then.-- |only 1 i|
|00002a70| 74 65 6d 2c 20 69 74 20 | 69 73 20 74 68 65 20 49 |tem, it |is the I|
|00002a80| 44 0d 70 75 74 20 31 20 | 69 6e 74 6f 20 63 68 65 |D.put 1 |into che|
|00002a90| 63 6b 49 6e 64 65 78 0d | 70 75 74 20 69 74 65 6d |ckIndex.|put item|
|00002aa0| 20 31 20 6f 66 20 6f 6c | 64 4e 61 6d 65 20 69 6e | 1 of ol|dName in|
|00002ab0| 74 6f 20 63 68 65 63 6b | 49 74 65 6d 0d 65 6c 73 |to check|Item.els|
|00002ac0| 65 0d 2d 2d 20 6e 61 6d | 65 20 66 6f 6c 6c 6f 77 |e.-- nam|e follow|
|00002ad0| 65 64 20 62 79 20 49 44 | 2c 20 75 73 65 20 74 68 |ed by ID|, use th|
|00002ae0| 65 20 49 44 0d 70 75 74 | 20 32 20 69 6e 74 6f 20 |e ID.put| 2 into |
|00002af0| 63 68 65 63 6b 49 6e 64 | 65 78 0d 70 75 74 20 69 |checkInd|ex.put i|
|00002b00| 74 65 6d 20 31 20 6f 66 | 20 6f 6c 64 4e 61 6d 65 |tem 1 of| oldName|
|00002b10| 20 69 6e 74 6f 20 63 68 | 65 63 6b 49 74 65 6d 0d | into ch|eckItem.|
|00002b20| 70 75 74 20 69 74 65 6d | 20 32 20 6f 66 20 6f 6c |put item| 2 of ol|
|00002b30| 64 4e 61 6d 65 20 26 20 | 22 2c 22 20 26 20 63 68 |dName & |"," & ch|
|00002b40| 65 63 6b 49 74 65 6d 20 | 69 6e 74 6f 20 6f 6c 64 |eckItem |into old|
|00002b50| 4e 61 6d 65 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |Name.end| if.put |
|00002b60| 22 73 75 69 74 65 22 20 | 26 26 20 52 65 73 54 79 |"suite" |&& ResTy|
|00002b70| 70 65 28 73 75 69 74 65 | 4e 61 6d 65 29 20 69 6e |pe(suite|Name) in|
|00002b80| 74 6f 20 73 75 69 74 65 | 43 61 72 64 0d 69 66 20 |to suite|Card.if |
|00002b90| 74 68 65 72 65 20 69 73 | 20 61 20 63 61 72 64 20 |there is| a card |
|00002ba0| 73 75 69 74 65 43 61 72 | 64 20 74 68 65 6e 0d 70 |suiteCar|d then.p|
|00002bb0| 75 74 20 66 69 65 6c 64 | 20 6c 69 73 74 4e 61 6d |ut field| listNam|
|00002bc0| 65 20 6f 66 20 63 61 72 | 64 20 73 75 69 74 65 43 |e of car|d suiteC|
|00002bd0| 61 72 64 20 69 6e 74 6f | 20 78 0d 70 75 74 20 74 |ard into| x.put t|
|00002be0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00002bf0| 65 73 20 69 6e 20 78 20 | 69 6e 74 6f 20 6e 0d 70 |es in x |into n.p|
|00002c00| 75 74 20 31 20 69 6e 74 | 6f 20 69 0d 70 75 74 20 |ut 1 int|o i.put |
|00002c10| 66 61 6c 73 65 20 69 6e | 74 6f 20 66 6f 75 6e 64 |false in|to found|
|00002c20| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 28 69 |.repeat |until (i|
|00002c30| 20 3e 20 6e 29 20 6f 72 | 20 66 6f 75 6e 64 0d 69 | > n) or| found.i|
|00002c40| 66 20 28 69 74 65 6d 20 | 63 68 65 63 6b 49 6e 64 |f (item |checkInd|
|00002c50| 65 78 20 6f 66 20 6c 69 | 6e 65 20 69 20 6f 66 20 |ex of li|ne i of |
|00002c60| 78 29 20 3d 20 63 68 65 | 63 6b 49 74 65 6d 20 74 |x) = che|ckItem t|
|00002c70| 68 65 6e 0d 64 65 6c 65 | 74 65 20 6c 69 6e 65 20 |hen.dele|te line |
|00002c80| 69 20 6f 66 20 78 0d 70 | 75 74 20 74 72 75 65 20 |i of x.p|ut true |
|00002c90| 69 6e 74 6f 20 66 6f 75 | 6e 64 0d 65 6e 64 20 69 |into fou|nd.end i|
|00002ca0| 66 0d 61 64 64 20 31 20 | 74 6f 20 69 0d 65 6e 64 |f.add 1 |to i.end|
|00002cb0| 20 72 65 70 65 61 74 0d | 70 75 74 20 78 20 69 6e | repeat.|put x in|
|00002cc0| 74 6f 20 66 69 65 6c 64 | 20 6c 69 73 74 4e 61 6d |to field| listNam|
|00002cd0| 65 20 6f 66 20 63 61 72 | 64 20 73 75 69 74 65 43 |e of car|d suiteC|
|00002ce0| 61 72 64 0d 65 6e 64 20 | 69 66 0d 69 66 20 6e 65 |ard.end |if.if ne|
|00002cf0| 77 4e 61 6d 65 20 3c 3e | 20 22 22 20 74 68 65 6e |wName <>| "" then|
|00002d00| 0d 70 75 74 20 77 6f 72 | 64 20 31 20 6f 66 20 6e |.put wor|d 1 of n|
|00002d10| 65 77 4e 61 6d 65 20 69 | 6e 74 6f 20 73 75 69 74 |ewName i|nto suit|
|00002d20| 65 6e 61 6d 65 0d 64 65 | 6c 65 74 65 20 77 6f 72 |ename.de|lete wor|
|00002d30| 64 20 31 20 74 6f 20 32 | 20 6f 66 20 6e 65 77 4e |d 1 to 2| of newN|
|00002d40| 61 6d 65 0d 69 66 20 28 | 69 74 65 6d 20 32 20 6f |ame.if (|item 2 o|
|00002d50| 66 20 6e 65 77 4e 61 6d | 65 20 3c 3e 20 22 22 29 |f newNam|e <> "")|
|00002d60| 20 6f 72 20 28 6c 61 73 | 74 20 63 68 61 72 20 6f | or (las|t char o|
|00002d70| 66 20 6e 65 77 4e 61 6d | 65 20 3d 20 22 2c 22 29 |f newNam|e = ",")|
|00002d80| 20 74 68 65 6e 0d 2d 2d | 20 6e 65 77 4e 61 6d 65 | then.--| newName|
|00002d90| 20 69 73 20 6e 61 6d 65 | 20 2b 20 49 44 2c 20 66 | is name| + ID, f|
|00002da0| 6c 69 70 20 69 74 20 61 | 72 6f 75 6e 64 0d 70 75 |lip it a|round.pu|
|00002db0| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 6e 65 77 4e |t item 2| of newN|
|00002dc0| 61 6d 65 20 26 20 22 2c | 22 20 26 20 69 74 65 6d |ame & ",|" & item|
|00002dd0| 20 31 20 6f 66 20 6e 65 | 77 4e 61 6d 65 20 69 6e | 1 of ne|wName in|
|00002de0| 74 6f 20 6e 65 77 4e 61 | 6d 65 0d 65 6e 64 20 69 |to newNa|me.end i|
|00002df0| 66 0d 70 75 74 20 22 73 | 75 69 74 65 22 20 26 26 |f.put "s|uite" &&|
|00002e00| 20 73 75 69 74 65 4e 61 | 6d 65 20 69 6e 74 6f 20 | suiteNa|me into |
|00002e10| 73 75 69 74 65 43 61 72 | 64 0d 69 66 20 74 68 65 |suiteCar|d.if the|
|00002e20| 72 65 20 69 73 20 61 20 | 63 61 72 64 20 73 75 69 |re is a |card sui|
|00002e30| 74 65 43 61 72 64 20 74 | 68 65 6e 0d 70 75 74 20 |teCard t|hen.put |
|00002e40| 6e 65 77 4e 61 6d 65 20 | 26 20 72 65 74 75 72 6e |newName |& return|
|00002e50| 20 61 66 74 65 72 20 66 | 69 65 6c 64 20 6c 69 73 | after f|ield lis|
|00002e60| 74 4e 61 6d 65 20 6f 66 | 20 63 61 72 64 20 73 75 |tName of| card su|
|00002e70| 69 74 65 43 61 72 64 0d | 65 6e 64 20 69 66 0d 65 |iteCard.|end if.e|
|00002e80| 6e 64 20 69 66 0d 65 6e | 64 20 43 68 61 6e 67 65 |nd if.en|d Change|
|00002e90| 4e 61 6d 65 0d 0d 6f 6e | 20 52 65 44 6f 53 63 72 |Name..on| ReDoScr|
|00002ea0| 69 70 74 0d 67 6c 6f 62 | 61 6c 20 69 6e 45 64 69 |ipt.glob|al inEdi|
|00002eb0| 74 0d 70 75 74 20 69 6e | 45 64 69 74 20 69 6e 74 |t.put in|Edit int|
|00002ec0| 6f 20 63 75 72 45 64 69 | 74 0d 70 75 74 20 66 61 |o curEdi|t.put fa|
|00002ed0| 6c 73 65 20 69 6e 74 6f | 20 69 6e 45 64 69 74 0d |lse into| inEdit.|
|00002ee0| 70 75 73 68 20 63 61 72 | 64 0d 70 75 74 20 6e 75 |push car|d.put nu|
|00002ef0| 6d 62 65 72 20 6f 66 20 | 63 61 72 64 73 20 69 6e |mber of |cards in|
|00002f00| 20 62 6b 67 6e 64 20 22 | 65 76 65 6e 74 73 22 20 | bkgnd "|events" |
|00002f10| 69 6e 74 6f 20 6e 0d 72 | 65 70 65 61 74 20 77 69 |into n.r|epeat wi|
|00002f20| 74 68 20 69 20 3d 20 32 | 20 74 6f 20 6e 0d 67 6f |th i = 2| to n.go|
|00002f30| 20 63 61 72 64 20 69 20 | 6f 66 20 62 6b 67 6e 64 | card i |of bkgnd|
|00002f40| 20 22 65 76 65 6e 74 73 | 22 0d 69 66 20 74 68 65 | "events|".if the|
|00002f50| 20 72 65 73 75 6c 74 20 | 3d 20 22 22 20 74 68 65 | result |= "" the|
|00002f60| 6e 0d 4d 61 6b 65 53 63 | 72 69 70 74 54 65 6d 70 |n.MakeSc|riptTemp|
|00002f70| 6c 61 74 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |late.end| if.end |
|00002f80| 72 65 70 65 61 74 0d 70 | 6f 70 20 63 61 72 64 0d |repeat.p|op card.|
|00002f90| 70 75 74 20 63 75 72 45 | 64 69 74 20 69 6e 74 6f |put curE|dit into|
|00002fa0| 20 69 6e 45 64 69 74 0d | 65 6e 64 20 52 65 44 6f | inEdit.|end ReDo|
|00002fb0| 53 63 72 69 70 74 0d 0d | 66 75 6e 63 74 69 6f 6e |Script..|function|
|00002fc0| 20 45 6e 75 6d 4f 70 74 | 69 6f 6e 20 73 75 69 74 | EnumOpt|ion suit|
|00002fd0| 65 43 6f 64 65 2c 65 6e | 75 6d 65 72 61 74 69 6f |eCode,en|umeratio|
|00002fe0| 6e 2c 65 6e 75 6d 65 72 | 61 74 6f 72 2c 69 6e 64 |n,enumer|ator,ind|
|00002ff0| 65 78 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 74 |ex.put "|" into t|
|00003000| 68 65 4c 69 73 74 0d 70 | 75 74 20 22 65 6e 75 6d |heList.p|ut "enum|
|00003010| 65 72 61 74 69 6f 6e 22 | 20 26 26 20 65 6e 75 6d |eration"| && enum|
|00003020| 65 72 61 74 69 6f 6e 20 | 69 6e 74 6f 20 78 0d 69 |eration |into x.i|
|00003030| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 63 61 72 |f there |is a car|
|00003040| 64 20 78 20 74 68 65 6e | 0d 70 75 74 20 66 69 65 |d x then|.put fie|
|00003050| 6c 64 20 22 65 6e 75 6d | 49 6e 66 6f 22 20 6f 66 |ld "enum|Info" of|
|00003060| 20 63 61 72 64 20 78 20 | 69 6e 74 6f 20 78 0d 70 | card x |into x.p|
|00003070| 75 74 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |ut numbe|r of lin|
|00003080| 65 73 20 69 6e 20 78 20 | 69 6e 74 6f 20 6e 0d 72 |es in x |into n.r|
|00003090| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|000030a0| 20 74 6f 20 6e 0d 69 66 | 20 28 65 6e 75 6d 65 72 | to n.if| (enumer|
|000030b0| 61 74 6f 72 20 3d 20 22 | 22 29 20 74 68 65 6e 0d |ator = "|") then.|
|000030c0| 70 75 74 20 69 74 65 6d | 20 69 6e 64 65 78 20 6f |put item| index o|
|000030d0| 66 20 6c 69 6e 65 20 69 | 20 6f 66 20 78 20 26 20 |f line i| of x & |
|000030e0| 22 7c 22 20 61 66 74 65 | 72 20 74 68 65 4c 69 73 |"|" afte|r theLis|
|000030f0| 74 0d 65 6c 73 65 20 69 | 66 20 28 65 6e 75 6d 65 |t.else i|f (enume|
|00003100| 72 61 74 6f 72 20 3d 20 | 69 74 65 6d 20 31 20 6f |rator = |item 1 o|
|00003110| 66 20 6c 69 6e 65 20 69 | 20 6f 66 20 78 29 20 74 |f line i| of x) t|
|00003120| 68 65 6e 0d 70 75 74 20 | 69 74 65 6d 20 69 6e 64 |hen.put |item ind|
|00003130| 65 78 20 6f 66 20 6c 69 | 6e 65 20 69 20 6f 66 20 |ex of li|ne i of |
|00003140| 78 20 26 20 22 7c 22 20 | 69 6e 74 6f 20 74 68 65 |x & "|" |into the|
|00003150| 4c 69 73 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |List.end| if.end |
|00003160| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 69 66 |repeat.e|nd if.if|
|00003170| 20 74 68 65 4c 69 73 74 | 20 3d 20 22 22 20 74 68 | theList| = "" th|
|00003180| 65 6e 0d 70 75 74 20 22 | 73 6f 6d 65 45 6e 75 6d |en.put "|someEnum|
|00003190| 22 20 69 6e 74 6f 20 74 | 68 65 4c 69 73 74 0d 65 |" into t|heList.e|
|000031a0| 6c 73 65 0d 64 65 6c 65 | 74 65 20 6c 61 73 74 20 |lse.dele|te last |
|000031b0| 63 68 61 72 20 6f 66 20 | 74 68 65 4c 69 73 74 0d |char of |theList.|
|000031c0| 65 6e 64 20 69 66 0d 72 | 65 74 75 72 6e 20 74 68 |end if.r|eturn th|
|000031d0| 65 4c 69 73 74 0d 65 6e | 64 20 45 6e 75 6d 4f 70 |eList.en|d EnumOp|
|000031e0| 74 69 6f 6e 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 4e |tion..fu|nction N|
|000031f0| 61 6d 65 4f 66 44 61 74 | 61 54 79 70 65 20 64 61 |ameOfDat|aType da|
|00003200| 74 61 54 79 70 65 0d 69 | 66 20 64 61 74 61 54 79 |taType.i|f dataTy|
|00003210| 70 65 20 3d 20 22 73 68 | 6f 72 22 20 74 68 65 6e |pe = "sh|or" then|
|00003220| 0d 67 65 74 20 22 49 6e | 74 65 67 65 72 2c 50 74 |.get "In|teger,Pt|
|00003230| 72 2c 48 61 6e 64 6c 65 | 2c 74 79 70 65 53 68 6f |r,Handle|,typeSho|
|00003240| 72 74 49 6e 74 65 67 65 | 72 2c 73 68 6f 72 74 2c |rtIntege|r,short,|
|00003250| 32 22 0d 65 6c 73 65 20 | 69 66 20 64 61 74 61 54 |2".else |if dataT|
|00003260| 79 70 65 20 3d 20 22 6c | 6f 6e 67 22 20 74 68 65 |ype = "l|ong" the|
|00003270| 6e 0d 67 65 74 20 22 4c | 6f 6e 67 69 6e 74 2c 50 |n.get "L|ongint,P|
|00003280| 74 72 2c 48 61 6e 64 6c | 65 2c 74 79 70 65 4c 6f |tr,Handl|e,typeLo|
|00003290| 6e 67 49 6e 74 65 67 65 | 72 2c 6c 6f 6e 67 2c 34 |ngIntege|r,long,4|
|000032a0| 22 0d 65 6c 73 65 20 69 | 66 20 28 64 61 74 61 54 |".else i|f (dataT|
|000032b0| 79 70 65 20 3d 20 22 62 | 6f 6f 6c 22 29 20 6f 72 |ype = "b|ool") or|
|000032c0| 20 28 64 61 74 61 54 79 | 70 65 20 3d 20 22 74 72 | (dataTy|pe = "tr|
|000032d0| 75 65 22 29 20 74 68 65 | 6e 0d 67 65 74 20 22 42 |ue") the|n.get "B|
|000032e0| 6f 6f 6c 65 61 6e 2c 50 | 74 72 2c 48 61 6e 64 6c |oolean,P|tr,Handl|
|000032f0| 65 2c 74 79 70 65 42 6f | 6f 6c 65 61 6e 2c 42 6f |e,typeBo|olean,Bo|
|00003300| 6f 6c 65 61 6e 2c 31 22 | 0d 65 6c 73 65 20 69 66 |olean,1"|.else if|
|00003310| 20 64 61 74 61 54 79 70 | 65 20 3d 20 22 54 45 58 | dataTyp|e = "TEX|
|00003320| 54 22 20 74 68 65 6e 0d | 67 65 74 20 22 53 74 72 |T" then.|get "Str|
|00003330| 32 35 35 2c 43 68 61 72 | 73 50 74 72 2c 43 68 61 |255,Char|sPtr,Cha|
|00003340| 72 73 48 61 6e 64 6c 65 | 2c 74 79 70 65 43 68 61 |rsHandle|,typeCha|
|00003350| 72 2c 63 68 61 72 2c 2d | 31 22 0d 65 6c 73 65 20 |r,char,-|1".else |
|00003360| 69 66 20 28 64 61 74 61 | 54 79 70 65 20 3d 20 22 |if (data|Type = "|
|00003370| 65 6e 75 6d 22 29 20 74 | 68 65 6e 0d 67 65 74 20 |enum") t|hen.get |
|00003380| 22 52 65 73 54 79 70 65 | 2c 52 65 73 54 79 70 65 |"ResType|,ResType|
|00003390| 50 74 72 2c 48 61 6e 64 | 6c 65 2c 74 79 70 65 45 |Ptr,Hand|le,typeE|
|000033a0| 6e 75 6d 65 72 61 74 65 | 64 2c 52 65 73 54 79 70 |numerate|d,ResTyp|
|000033b0| 65 2c 34 22 0d 65 6c 73 | 65 20 69 66 20 28 64 61 |e,4".els|e if (da|
|000033c0| 74 61 54 79 70 65 20 3d | 20 22 74 79 70 65 22 29 |taType =| "type")|
|000033d0| 20 74 68 65 6e 0d 67 65 | 74 20 22 52 65 73 54 79 | then.ge|t "ResTy|
|000033e0| 70 65 2c 52 65 73 54 79 | 70 65 50 74 72 2c 48 61 |pe,ResTy|pePtr,Ha|
|000033f0| 6e 64 6c 65 2c 74 79 70 | 65 54 79 70 65 2c 52 65 |ndle,typ|eType,Re|
|00003400| 73 54 79 70 65 2c 34 22 | 0d 65 6c 73 65 20 69 66 |sType,4"|.else if|
|00003410| 20 28 64 61 74 61 54 79 | 70 65 20 3d 20 22 70 72 | (dataTy|pe = "pr|
|00003420| 6f 70 22 29 20 74 68 65 | 6e 0d 67 65 74 20 22 52 |op") the|n.get "R|
|00003430| 65 73 54 79 70 65 2c 52 | 65 73 54 79 70 65 50 74 |esType,R|esTypePt|
|00003440| 72 2c 48 61 6e 64 6c 65 | 2c 74 79 70 65 50 72 6f |r,Handle|,typePro|
|00003450| 70 65 72 74 79 2c 52 65 | 73 54 79 70 65 2c 34 22 |perty,Re|sType,4"|
|00003460| 0d 65 6c 73 65 20 69 66 | 20 28 64 61 74 61 54 79 |.else if| (dataTy|
|00003470| 70 65 20 3d 20 22 6b 65 | 79 77 22 29 20 74 68 65 |pe = "ke|yw") the|
|00003480| 6e 0d 67 65 74 20 22 52 | 65 73 54 79 70 65 2c 52 |n.get "R|esType,R|
|00003490| 65 73 54 79 70 65 50 74 | 72 2c 48 61 6e 64 6c 65 |esTypePt|r,Handle|
|000034a0| 2c 74 79 70 65 4b 65 79 | 77 6f 72 64 2c 52 65 73 |,typeKey|word,Res|
|000034b0| 54 79 70 65 2c 34 22 0d | 65 6c 73 65 20 69 66 20 |Type,4".|else if |
|000034c0| 64 61 74 61 54 79 70 65 | 20 3d 20 22 6c 69 73 74 |dataType| = "list|
|000034d0| 22 20 74 68 65 6e 0d 67 | 65 74 20 22 41 45 44 65 |" then.g|et "AEDe|
|000034e0| 73 63 4c 69 73 74 2c 41 | 45 44 65 73 63 4c 69 73 |scList,A|EDescLis|
|000034f0| 74 50 74 72 2c 2c 74 79 | 70 65 41 45 4c 69 73 74 |tPtr,,ty|peAEList|
|00003500| 2c 41 45 44 65 73 63 4c | 69 73 74 2c 2d 31 22 0d |,AEDescL|ist,-1".|
|00003510| 65 6c 73 65 20 69 66 20 | 64 61 74 61 54 79 70 65 |else if |dataType|
|00003520| 20 3d 20 22 65 78 74 65 | 22 20 74 68 65 6e 0d 67 | = "exte|" then.g|
|00003530| 65 74 20 22 65 78 74 65 | 6e 64 65 64 2c 50 74 72 |et "exte|nded,Ptr|
|00003540| 2c 48 61 6e 64 6c 65 2c | 74 79 70 65 45 78 74 65 |,Handle,|typeExte|
|00003550| 6e 64 65 64 2c 65 78 74 | 65 6e 64 65 64 2c 31 30 |nded,ext|ended,10|
|00003560| 22 0d 65 6c 73 65 20 69 | 66 20 64 61 74 61 54 79 |".else i|f dataTy|
|00003570| 70 65 20 3d 20 22 73 69 | 6e 67 22 20 74 68 65 6e |pe = "si|ng" then|
|00003580| 0d 67 65 74 20 22 52 65 | 61 6c 2c 50 74 72 2c 48 |.get "Re|al,Ptr,H|
|00003590| 61 6e 64 6c 65 2c 74 79 | 70 65 53 68 6f 72 74 46 |andle,ty|peShortF|
|000035a0| 6c 6f 61 74 2c 66 6c 6f | 61 74 2c 34 22 0d 65 6c |loat,flo|at,4".el|
|000035b0| 73 65 20 69 66 20 64 61 | 74 61 54 79 70 65 20 3d |se if da|taType =|
|000035c0| 20 22 64 6f 75 62 22 20 | 74 68 65 6e 0d 67 65 74 | "doub" |then.get|
|000035d0| 20 22 44 6f 75 62 6c 65 | 2c 50 74 72 2c 48 61 6e | "Double|,Ptr,Han|
|000035e0| 64 6c 65 2c 74 79 70 65 | 4c 6f 6e 67 46 6c 6f 61 |dle,type|LongFloa|
|000035f0| 74 2c 64 6f 75 62 6c 65 | 2c 38 22 0d 65 6c 73 65 |t,double|,8".else|
|00003600| 20 69 66 20 64 61 74 61 | 54 79 70 65 20 3d 20 22 | if data|Type = "|
|00003610| 63 6f 6d 70 22 20 74 68 | 65 6e 0d 67 65 74 20 22 |comp" th|en.get "|
|00003620| 43 6f 6d 70 2c 50 74 72 | 2c 48 61 6e 64 6c 65 2c |Comp,Ptr|,Handle,|
|00003630| 74 79 70 65 43 6f 6d 70 | 2c 63 6f 6d 70 2c 38 22 |typeComp|,comp,8"|
|00003640| 0d 65 6c 73 65 20 69 66 | 20 64 61 74 61 54 79 70 |.else if| dataTyp|
|00003650| 65 20 3d 20 22 61 6c 69 | 73 22 20 74 68 65 6e 0d |e = "ali|s" then.|
|00003660| 67 65 74 20 22 41 6c 69 | 61 73 52 65 63 6f 72 64 |get "Ali|asRecord|
|00003670| 2c 41 6c 69 61 73 50 74 | 72 2c 41 6c 69 61 73 48 |,AliasPt|r,AliasH|
|00003680| 61 6e 64 6c 65 2c 74 79 | 70 65 41 6c 69 61 73 2c |andle,ty|peAlias,|
|00003690| 41 6c 69 61 73 52 65 63 | 6f 72 64 2c 2d 31 22 0d |AliasRec|ord,-1".|
|000036a0| 65 6c 73 65 20 69 66 20 | 64 61 74 61 54 79 70 65 |else if |dataType|
|000036b0| 20 3d 20 22 66 73 73 20 | 22 20 74 68 65 6e 0d 67 | = "fss |" then.g|
|000036c0| 65 74 20 22 46 53 53 70 | 65 63 2c 46 53 53 70 65 |et "FSSp|ec,FSSpe|
|000036d0| 63 50 74 72 2c 46 53 53 | 70 65 63 48 61 6e 64 6c |cPtr,FSS|pecHandl|
|000036e0| 65 2c 74 79 70 65 46 53 | 53 2c 46 53 53 70 65 63 |e,typeFS|S,FSSpec|
|000036f0| 2c 37 30 22 0d 65 6c 73 | 65 0d 67 65 74 20 22 41 |,70".els|e.get "A|
|00003700| 45 44 65 73 63 2c 50 74 | 72 2c 48 61 6e 64 6c 65 |EDesc,Pt|r,Handle|
|00003710| 2c 74 79 70 65 55 6e 6b | 6e 6f 77 6e 2c 76 6f 69 |,typeUnk|nown,voi|
|00003720| 64 2c 2d 31 22 0d 65 6e | 64 20 69 66 0d 72 65 74 |d,-1".en|d if.ret|
|00003730| 75 72 6e 20 69 74 0d 65 | 6e 64 20 4e 61 6d 65 4f |urn it.e|nd NameO|
|00003740| 66 44 61 74 61 54 79 70 | 65 0d 0d 0d 6f 6e 20 65 |fDataTyp|e...on e|
|00003750| 6d 70 74 79 53 74 61 63 | 6b 20 6e 6f 44 69 61 6c |mptyStac|k noDial|
|00003760| 6f 67 0d 69 66 20 6e 6f | 44 69 61 6c 6f 67 20 3c |og.if no|Dialog <|
|00003770| 3e 22 79 65 73 22 20 74 | 68 65 6e 0d 61 6e 73 77 |>"yes" t|hen.answ|
|00003780| 65 72 20 22 44 65 6c 65 | 74 65 20 61 6c 6c 20 27 |er "Dele|te all '|
|00003790| 61 65 74 65 27 20 64 61 | 74 61 20 66 72 6f 6d 20 |aete' da|ta from |
|000037a0| 74 68 69 73 20 73 74 61 | 63 6b 3f 22 20 77 69 74 |this sta|ck?" wit|
|000037b0| 68 20 22 4f 4b 22 20 6f | 72 20 22 43 61 6e 63 65 |h "OK" o|r "Cance|
|000037c0| 6c 22 0d 69 66 20 69 74 | 20 69 73 20 6e 6f 74 20 |l".if it| is not |
|000037d0| 22 4f 4b 22 20 74 68 65 | 6e 20 65 78 69 74 20 65 |"OK" the|n exit e|
|000037e0| 6d 70 74 79 53 74 61 63 | 6b 0d 65 6e 64 20 69 66 |mptyStac|k.end if|
|000037f0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|00003800| 61 74 63 68 0d 67 6c 6f | 62 61 6c 20 69 6e 45 64 |atch.glo|bal inEd|
|00003810| 69 74 0d 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 |it.put f|alse int|
|00003820| 6f 20 69 6e 45 64 69 74 | 0d 73 65 74 20 6c 6f 63 |o inEdit|.set loc|
|00003830| 6b 73 63 72 65 65 6e 20 | 74 6f 20 74 72 75 65 0d |kscreen |to true.|
|00003840| 70 75 73 68 20 63 61 72 | 64 0d 44 65 6c 65 74 65 |push car|d.Delete|
|00003850| 41 6c 6c 20 22 73 75 69 | 74 65 49 6e 66 6f 22 0d |All "sui|teInfo".|
|00003860| 44 65 6c 65 74 65 41 6c | 6c 20 22 65 76 65 6e 74 |DeleteAl|l "event|
|00003870| 73 22 0d 44 65 6c 65 74 | 65 41 6c 6c 20 22 63 6c |s".Delet|eAll "cl|
|00003880| 61 73 73 22 0d 44 65 6c | 65 74 65 41 6c 6c 20 22 |ass".Del|eteAll "|
|00003890| 63 6f 6d 70 61 72 69 73 | 6f 6e 22 0d 44 65 6c 65 |comparis|on".Dele|
|000038a0| 74 65 41 6c 6c 20 22 65 | 6e 75 6d 65 72 61 74 69 |teAll "e|numerati|
|000038b0| 6f 6e 22 0d 67 6f 20 63 | 64 20 22 6d 61 69 6e 4d |on".go c|d "mainM|
|000038c0| 65 6e 75 22 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |enu".put| "" into|
|000038d0| 20 63 61 72 64 20 66 69 | 65 6c 64 20 22 53 75 69 | card fi|eld "Sui|
|000038e0| 74 65 4c 69 73 74 22 0d | 70 75 74 20 22 22 20 69 |teList".|put "" i|
|000038f0| 6e 74 6f 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 |nto card| field "|
|00003900| 53 63 72 61 74 63 68 22 | 0d 70 75 74 20 22 22 20 |Scratch"|.put "" |
|00003910| 69 6e 74 6f 20 63 61 72 | 64 20 66 69 65 6c 64 20 |into car|d field |
|00003920| 22 73 65 6e 64 54 61 72 | 67 65 74 22 20 6f 66 20 |"sendTar|get" of |
|00003930| 63 61 72 64 20 22 70 72 | 65 66 65 72 65 6e 63 65 |card "pr|eference|
|00003940| 22 0d 70 75 74 20 22 61 | 65 74 65 22 20 69 6e 74 |".put "a|ete" int|
|00003950| 6f 20 63 61 72 64 20 66 | 69 65 6c 64 20 22 72 65 |o card f|ield "re|
|00003960| 73 6f 75 72 63 65 54 79 | 70 65 22 20 6f 66 20 63 |sourceTy|pe" of c|
|00003970| 61 72 64 20 22 70 72 65 | 66 65 72 65 6e 63 65 22 |ard "pre|ference"|
|00003980| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 63 61 72 64 |.put 0 i|nto card|
|00003990| 20 66 69 65 6c 64 20 22 | 72 65 73 6f 75 72 63 65 | field "|resource|
|000039a0| 49 44 22 20 6f 66 20 63 | 61 72 64 20 22 70 72 65 |ID" of c|ard "pre|
|000039b0| 66 65 72 65 6e 63 65 22 | 0d 70 75 74 20 22 22 20 |ference"|.put "" |
|000039c0| 69 6e 74 6f 20 63 61 72 | 64 20 66 69 65 6c 64 20 |into car|d field |
|000039d0| 22 72 65 73 6f 75 72 63 | 65 4e 61 6d 65 22 20 6f |"resourc|eName" o|
|000039e0| 66 20 63 61 72 64 20 22 | 70 72 65 66 65 72 65 6e |f card "|preferen|
|000039f0| 63 65 22 0d 70 75 74 20 | 31 20 69 6e 74 6f 20 63 |ce".put |1 into c|
|00003a00| 61 72 64 20 66 69 65 6c | 64 20 22 6d 61 6a 6f 72 |ard fiel|d "major|
|00003a10| 56 65 72 73 69 6f 6e 22 | 20 6f 66 20 63 61 72 64 |Version"| of card|
|00003a20| 20 22 70 72 65 66 65 72 | 65 6e 63 65 22 0d 70 75 | "prefer|ence".pu|
|00003a30| 74 20 22 30 30 22 20 69 | 6e 74 6f 20 63 61 72 64 |t "00" i|nto card|
|00003a40| 20 66 69 65 6c 64 20 22 | 6d 69 6e 6f 72 56 65 72 | field "|minorVer|
|00003a50| 73 69 6f 6e 22 20 6f 66 | 20 63 61 72 64 20 22 70 |sion" of| card "p|
|00003a60| 72 65 66 65 72 65 6e 63 | 65 22 0d 70 75 74 20 30 |referenc|e".put 0|
|00003a70| 20 69 6e 74 6f 20 63 61 | 72 64 20 66 69 65 6c 64 | into ca|rd field|
|00003a80| 20 22 6c 61 6e 67 75 61 | 67 65 43 6f 64 65 22 20 | "langua|geCode" |
|00003a90| 6f 66 20 63 61 72 64 20 | 22 70 72 65 66 65 72 65 |of card |"prefere|
|00003aa0| 6e 63 65 22 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |nce".put| 0 into |
|00003ab0| 63 61 72 64 20 66 69 65 | 6c 64 20 22 73 63 72 69 |card fie|ld "scri|
|00003ac0| 70 74 43 6f 64 65 22 20 | 6f 66 20 63 61 72 64 20 |ptCode" |of card |
|00003ad0| 22 70 72 65 66 65 72 65 | 6e 63 65 22 0d 70 75 74 |"prefere|nce".put|
|00003ae0| 20 74 72 75 65 20 69 6e | 74 6f 20 69 6e 45 64 69 | true in|to inEdi|
|00003af0| 74 0d 69 66 20 74 68 65 | 20 66 72 65 65 73 69 7a |t.if the| freesiz|
|00003b00| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00003b10| 3e 20 33 32 37 36 38 20 | 74 68 65 6e 20 64 6f 4d |> 32768 |then doM|
|00003b20| 65 6e 75 20 22 43 6f 6d | 70 61 63 74 20 53 74 61 |enu "Com|pact Sta|
|00003b30| 63 6b 22 0d 65 6e 64 20 | 65 6d 70 74 79 53 74 61 |ck".end |emptySta|
|00003b40| 63 6b 0d 0d 0d 6f 6e 20 | 44 65 6c 65 74 65 41 6c |ck...on |DeleteAl|
|00003b50| 6c 20 62 6b 67 6e 64 4e | 61 6d 65 0d 70 75 74 20 |l bkgndN|ame.put |
|00003b60| 6e 75 6d 62 65 72 20 6f | 66 20 63 61 72 64 73 20 |number o|f cards |
|00003b70| 69 6e 20 62 6b 67 6e 64 | 20 62 6b 67 6e 64 4e 61 |in bkgnd| bkgndNa|
|00003b80| 6d 65 20 69 6e 74 6f 20 | 69 0d 72 65 70 65 61 74 |me into |i.repeat|
|00003b90| 20 77 68 69 6c 65 20 69 | 20 3e 20 31 0d 67 6f 20 | while i| > 1.go |
|00003ba0| 63 61 72 64 20 69 20 6f | 66 20 62 6b 67 6e 64 20 |card i o|f bkgnd |
|00003bb0| 62 6b 67 6e 64 4e 61 6d | 65 0d 64 6f 4d 65 6e 75 |bkgndNam|e.doMenu|
|00003bc0| 20 22 44 65 6c 65 74 65 | 20 43 61 72 64 22 0d 73 | "Delete| Card".s|
|00003bd0| 75 62 74 72 61 63 74 20 | 31 20 66 72 6f 6d 20 69 |ubtract |1 from i|
|00003be0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00003bf0| 44 65 6c 65 74 65 41 6c | 6c 0d 0d 00 00 00 00 00 |DeleteAl|l.......|
|00003c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00003c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ca0| 00 20 a8 ec 00 20 ad fa | 00 15 18 ca 00 20 9c 8b |. ... ..|..... ..|
|00003cb0| 00 20 f9 06 00 21 02 ef | 00 02 34 3c 00 0a 15 2d |. ...!..|..4<...-|
|00003cc0| 00 0a 70 2e 00 0e 46 6f | 00 04 07 df 00 03 42 c0 |..p...Fo|......B.|
|00003cd0| 00 20 b4 b1 00 04 0e d8 | 00 06 d4 a6 00 20 dc d8 |. ......|..... ..|
|00003ce0| 00 06 e1 64 00 08 79 50 | 00 09 6a ed 00 20 f4 16 |...d..yP|..j.. ..|
|00003cf0| 00 09 6e af 00 20 ef f2 | 00 08 81 85 00 09 f3 16 |..n.. ..|........|
|00003d00| 00 20 be 49 00 00 00 00 | 00 00 00 00 00 20 a5 09 |. .I....|..... ..|
|00003d10| 00 20 c1 a5 00 20 d2 f1 | 00 20 e2 42 00 20 e7 7c |. ... ..|. .B. .||
|00003d20| 00 01 f0 e3 00 01 f4 90 | 00 00 00 00 00 00 00 00 |........|........|
|00003d30| 00 00 00 00 00 15 24 1d | 00 00 00 00 00 00 00 00 |......$.|........|
|00003d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d60| 00 00 00 00 00 0e 4e fa | 00 00 00 00 00 09 f7 83 |......N.|........|
|00003d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d80| 00 21 05 d9 00 00 00 00 | 00 00 00 00 00 00 00 00 |.!......|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e80| 00 00 00 80 4c 49 53 54 | 00 00 28 e3 00 00 00 00 |....LIST|..(.....|
|00003e90| 00 00 00 01 00 00 08 00 | 00 00 00 0f 00 1c 00 02 |........|........|
|00003ea0| 00 06 00 03 00 00 05 41 | 00 00 00 0f 00 00 00 00 |.......A|........|
|00003eb0| 00 00 29 90 00 0f 00 00 | 00 00 00 00 00 00 00 00 |..).....|........|
|00003ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 00 08 00 50 41 47 45 | 00 00 29 90 00 00 00 00 |....PAGE|..).....|
|00003f10| 00 00 28 e3 10 1f 94 b1 | 00 00 3b 83 60 06 af 30 |..(.....|..;.`..0|
|00003f20| 22 ae 44 25 2a 1e da 19 | 01 b3 91 4c a0 ce 31 1d |".D%*...|...L..1.|
|00003f30| 62 53 28 28 00 00 10 2e | a0 7f ff ff ff ff ff ff |bS((....|........|
|00003f40| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff fc |........|........|
|00003f50| 00 00 39 fa a0 10 20 28 | 02 50 00 00 00 02 00 00 |..9... (|.P......|
|00003f60| 08 00 a0 00 04 40 00 01 | 00 90 00 00 00 00 2d 1d |.....@..|......-.|
|00003f70| a0 7f ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00003f80| ff ff ff ff ff ff ff fc | 00 00 23 09 e0 00 00 00 |........|..#.....|
|00003f90| 00 00 04 82 00 00 00 08 | 00 00 00 40 10 00 02 00 |........|...@....|
|00003fa0| 00 08 08 00 00 00 08 ec | a0 10 80 5a 44 4e 04 03 |........|...ZDN..|
|00003fb0| 50 24 44 18 00 60 01 44 | 04 c8 96 04 04 69 5c 10 |P$D..`.D|.....i\.|
|00003fc0| 00 00 09 fa a0 02 00 4a | 80 1a 04 2b f1 7e 0c 50 |.......J|...+.~.P|
|00003fd0| 02 80 61 80 02 84 82 a0 | 44 1f 0c 18 00 00 14 b1 |..a.....|D.......|
|00003fe0| e0 09 1c 91 4c 04 41 0a | 9c 83 04 b5 01 60 84 68 |....L.A.|.....`.h|
|00003ff0| 95 8e 11 cc a3 c0 30 64 | 00 00 24 a5 a0 39 fd af |......0d|..$..9..|
|00004000| 0b dd 53 66 20 65 5c 56 | 01 a2 7e e4 38 ae a9 2f |..Sf e\V|..~.8../|
|00004010| 76 5b 72 78 00 00 25 f1 | a0 00 15 8f 04 55 12 28 |v[rx..%.|.....U.(|
|00004020| 24 3a 04 45 02 04 60 44 | 02 28 09 0c 76 92 02 68 |$:.E..`D|.(..v..h|
|00004030| 00 00 17 d8 e0 01 04 01 | 48 00 00 0e 18 83 40 b0 |........|H.....@.|
|00004040| 00 00 18 08 15 86 01 48 | 03 40 00 24 00 00 26 42 |.......H|.@.$..&B|
|00004050| a0 00 80 0a 08 98 00 05 | 40 20 44 30 00 00 39 50 |........|@ D0..9P|
|00004060| 0a 81 00 20 04 11 05 08 | 00 00 27 7c a0 11 00 49 |... ....|..'|...I|
|00004070| 48 90 28 2c 81 40 4d 40 | 00 40 39 05 00 00 04 04 |H.(,.@M@|.@9.....|
|00004080| 02 36 04 00 00 00 1d f2 | e0 01 04 01 48 20 00 0a |.6......|....H ..|
|00004090| 39 83 04 b0 02 00 00 08 | 15 86 01 48 07 40 10 34 |9.......|...H.@.4|
|000040a0| 00 00 1b 16 60 01 04 01 | 48 00 00 0a 18 83 00 b0 |....`...|H.......|
|000040b0| 00 00 00 08 15 86 01 48 | 03 40 00 24 00 00 00 00 |.......H|.@.$....|
|000040c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000043f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000044f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000045f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004700| 00 00 21 c0 42 4b 47 44 | 00 00 0e 3c 00 00 00 00 |..!.BKGD|...<....|
|00004710| 00 00 00 00 00 00 00 00 | 00 00 00 04 00 00 13 c0 |........|........|
|00004720| 00 00 1c af 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00004730| 00 00 00 6f 6e 20 4c 6f | 63 61 6c 69 7a 61 74 69 |...on Lo|calizati|
|00004740| 6f 6e 20 6f 75 74 4f 6e | 6c 79 0d 67 6c 6f 62 61 |on outOn|ly.globa|
|00004750| 6c 20 74 72 61 6e 73 6c | 61 74 69 6f 6e 54 61 62 |l transl|ationTab|
|00004760| 6c 65 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 74 |le.put "|" into t|
|00004770| 72 61 6e 73 6c 61 74 69 | 6f 6e 54 61 62 6c 65 0d |ranslati|onTable.|
|00004780| 69 66 20 6e 6f 74 20 6f | 75 74 4f 6e 6c 79 20 74 |if not o|utOnly t|
|00004790| 68 65 6e 0d 61 6e 73 77 | 65 72 20 66 69 6c 65 20 |hen.answ|er file |
|000047a0| 22 44 6f 20 79 6f 75 20 | 77 69 73 68 20 74 6f 20 |"Do you |wish to |
|000047b0| 75 73 65 20 61 20 74 72 | 61 6e 73 6c 61 74 69 6f |use a tr|anslatio|
|000047c0| 6e 20 74 61 62 6c 65 20 | 66 69 6c 65 3f 22 20 6f |n table |file?" o|
|000047d0| 66 20 74 79 70 65 20 74 | 65 78 74 0d 69 66 20 28 |f type t|ext.if (|
|000047e0| 69 74 20 3c 3e 20 22 22 | 29 20 61 6e 64 20 28 69 |it <> ""|) and (i|
|000047f0| 74 20 3c 3e 20 22 43 61 | 6e 63 65 6c 22 29 20 74 |t <> "Ca|ncel") t|
|00004800| 68 65 6e 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |hen.put |it into |
|00004810| 74 68 65 46 69 6c 65 4e | 61 6d 65 0d 6f 70 65 6e |theFileN|ame.open|
|00004820| 20 66 69 6c 65 20 74 68 | 65 46 69 6c 65 4e 61 6d | file th|eFileNam|
|00004830| 65 0d 72 65 70 65 61 74 | 20 66 6f 72 65 76 65 72 |e.repeat| forever|
|00004840| 0d 72 65 61 64 20 66 72 | 6f 6d 20 66 69 6c 65 20 |.read fr|om file |
|00004850| 74 68 65 46 69 6c 65 4e | 61 6d 65 20 66 6f 72 20 |theFileN|ame for |
|00004860| 31 36 33 38 34 0d 69 66 | 20 69 74 20 69 73 20 65 |16384.if| it is e|
|00004870| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 72 |mpty the|n exit r|
|00004880| 65 70 65 61 74 0d 70 75 | 74 20 69 74 20 61 66 74 |epeat.pu|t it aft|
|00004890| 65 72 20 74 72 61 6e 73 | 6c 61 74 69 6f 6e 54 61 |er trans|lationTa|
|000048a0| 62 6c 65 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 63 |ble.end |repeat.c|
|000048b0| 6c 6f 73 65 20 66 69 6c | 65 20 74 68 65 46 69 6c |lose fil|e theFil|
|000048c0| 65 4e 61 6d 65 0d 65 6e | 64 20 69 66 0d 69 66 20 |eName.en|d if.if |
|000048d0| 74 72 61 6e 73 6c 61 74 | 69 6f 6e 54 61 62 6c 65 |translat|ionTable|
|000048e0| 20 3c 3e 20 22 22 20 74 | 68 65 6e 0d 61 6e 73 77 | <> "" t|hen.answ|
|000048f0| 65 72 20 22 44 6f 20 79 | 6f 75 20 77 61 6e 74 20 |er "Do y|ou want |
|00004900| 74 6f 20 63 6f 6e 66 69 | 72 6d 20 61 75 74 6f 6d |to confi|rm autom|
|00004910| 61 74 69 63 61 6c 6c 79 | 20 74 72 61 6e 73 6c 61 |atically| transla|
|00004920| 74 65 64 20 73 74 72 69 | 6e 67 3f 22 20 77 69 74 |ted stri|ng?" wit|
|00004930| 68 20 22 43 61 6e 63 65 | 6c 22 20 6f 72 20 22 4e |h "Cance|l" or "N|
|00004940| 6f 22 20 6f 72 20 22 59 | 65 73 22 0d 69 66 20 69 |o" or "Y|es".if i|
|00004950| 74 20 3d 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 |t = "Can|cel" the|
|00004960| 6e 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 74 72 |n.put ""| into tr|
|00004970| 61 6e 73 6c 61 74 69 6f | 6e 54 61 62 6c 65 0d 65 |anslatio|nTable.e|
|00004980| 78 69 74 20 74 6f 20 48 | 79 70 65 72 43 61 72 64 |xit to H|yperCard|
|00004990| 0d 65 6c 73 65 0d 70 75 | 74 20 69 74 20 69 6e 74 |.else.pu|t it int|
|000049a0| 6f 20 6f 75 74 4f 6e 6c | 79 0d 65 6e 64 20 69 66 |o outOnl|y.end if|
|000049b0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 72 |.end if.|end if.r|
|000049c0| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 32 |epeat wi|th i = 2|
|000049d0| 20 74 6f 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 61 | to numb|er of ca|
|000049e0| 72 64 73 20 69 6e 20 62 | 6b 67 6e 64 20 22 65 76 |rds in b|kgnd "ev|
|000049f0| 65 6e 74 73 22 0d 69 66 | 20 6e 6f 74 20 68 69 6c |ents".if| not hil|
|00004a00| 69 74 65 20 6f 66 20 62 | 6b 67 6e 64 20 62 75 74 |ite of b|kgnd but|
|00004a10| 74 6f 6e 20 22 66 72 6f | 6d 20 41 45 55 54 22 20 |ton "fro|m AEUT" |
|00004a20| 6f 66 20 63 61 72 64 20 | 69 20 6f 66 20 62 6b 67 |of card |i of bkg|
|00004a30| 6e 64 20 22 65 76 65 6e | 74 73 22 20 74 68 65 6e |nd "even|ts" then|
|00004a40| 0d 54 72 61 6e 73 6c 61 | 74 65 46 69 65 6c 64 20 |.Transla|teField |
|00004a50| 6f 75 74 4f 6e 6c 79 2c | 22 65 76 65 6e 74 73 22 |outOnly,|"events"|
|00004a60| 2c 69 2c 22 65 76 65 6e | 74 4e 61 6d 65 22 0d 54 |,i,"even|tName".T|
|00004a70| 72 61 6e 73 6c 61 74 65 | 46 69 65 6c 64 20 6f 75 |ranslate|Field ou|
|00004a80| 74 4f 6e 6c 79 2c 22 65 | 76 65 6e 74 73 22 2c 69 |tOnly,"e|vents",i|
|00004a90| 2c 22 65 76 65 6e 74 43 | 6f 6d 6d 65 6e 74 22 0d |,"eventC|omment".|
|00004aa0| 54 72 61 6e 73 6c 61 74 | 65 47 72 6f 75 70 20 6f |Translat|eGroup o|
|00004ab0| 75 74 4f 6e 6c 79 2c 35 | 2c 22 65 76 65 6e 74 73 |utOnly,5|,"events|
|00004ac0| 22 2c 69 2c 22 70 61 72 | 61 6d 49 6e 66 6f 22 0d |",i,"par|amInfo".|
|00004ad0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00004ae0| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |t.repeat| with i |
|00004af0| 3d 20 32 20 74 6f 20 6e | 75 6d 62 65 72 20 6f 66 |= 2 to n|umber of|
|00004b00| 20 63 61 72 64 73 20 69 | 6e 20 62 6b 67 6e 64 20 | cards i|n bkgnd |
|00004b10| 22 63 6c 61 73 73 22 0d | 69 66 20 6e 6f 74 20 68 |"class".|if not h|
|00004b20| 69 6c 69 74 65 20 6f 66 | 20 62 6b 67 6e 64 20 62 |ilite of| bkgnd b|
|00004b30| 75 74 74 6f 6e 20 22 66 | 72 6f 6d 20 41 45 55 54 |utton "f|rom AEUT|
|00004b40| 22 20 6f 66 20 63 61 72 | 64 20 69 20 6f 66 20 62 |" of car|d i of b|
|00004b50| 6b 67 6e 64 20 22 63 6c | 61 73 73 22 20 74 68 65 |kgnd "cl|ass" the|
|00004b60| 6e 0d 54 72 61 6e 73 6c | 61 74 65 46 69 65 6c 64 |n.Transl|ateField|
|00004b70| 20 6f 75 74 4f 6e 6c 79 | 2c 22 63 6c 61 73 73 22 | outOnly|,"class"|
|00004b80| 2c 69 2c 22 63 6c 61 73 | 73 4e 61 6d 65 22 0d 54 |,i,"clas|sName".T|
|00004b90| 72 61 6e 73 6c 61 74 65 | 46 69 65 6c 64 20 6f 75 |ranslate|Field ou|
|00004ba0| 74 4f 6e 6c 79 2c 22 63 | 6c 61 73 73 22 2c 69 2c |tOnly,"c|lass",i,|
|00004bb0| 22 63 6c 61 73 73 43 6f | 6d 6d 65 6e 74 22 0d 54 |"classCo|mment".T|
|00004bc0| 72 61 6e 73 6c 61 74 65 | 47 72 6f 75 70 20 6f 75 |ranslate|Group ou|
|00004bd0| 74 4f 6e 6c 79 2c 35 2c | 22 63 6c 61 73 73 22 2c |tOnly,5,|"class",|
|00004be0| 69 2c 22 70 72 6f 70 49 | 6e 66 6f 22 0d 65 6e 64 |i,"propI|nfo".end|
|00004bf0| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 | if.end |repeat.r|
|00004c00| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 32 |epeat wi|th i = 2|
|00004c10| 20 74 6f 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 61 | to numb|er of ca|
|00004c20| 72 64 73 20 69 6e 20 62 | 6b 67 6e 64 20 22 63 6f |rds in b|kgnd "co|
|00004c30| 6d 70 61 72 69 73 6f 6e | 22 0d 69 66 20 6e 6f 74 |mparison|".if not|
|00004c40| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 6b 67 6e 64 | hilite |of bkgnd|
|00004c50| 20 62 75 74 74 6f 6e 20 | 22 66 72 6f 6d 20 41 45 | button |"from AE|
|00004c60| 55 54 22 20 6f 66 20 63 | 61 72 64 20 69 20 6f 66 |UT" of c|ard i of|
|00004c70| 20 62 6b 67 6e 64 20 22 | 63 6f 6d 70 61 72 69 73 | bkgnd "|comparis|
|00004c80| 6f 6e 22 20 74 68 65 6e | 0d 54 72 61 6e 73 6c 61 |on" then|.Transla|
|00004c90| 74 65 46 69 65 6c 64 20 | 6f 75 74 4f 6e 6c 79 2c |teField |outOnly,|
|00004ca0| 22 63 6f 6d 70 61 72 69 | 73 6f 6e 22 2c 69 2c 22 |"compari|son",i,"|
|00004cb0| 63 6f 6d 70 61 72 65 4e | 61 6d 65 22 0d 54 72 61 |compareN|ame".Tra|
|00004cc0| 6e 73 6c 61 74 65 46 69 | 65 6c 64 20 6f 75 74 4f |nslateFi|eld outO|
|00004cd0| 6e 6c 79 2c 22 63 6f 6d | 70 61 72 69 73 6f 6e 22 |nly,"com|parison"|
|00004ce0| 2c 69 2c 22 63 6f 6d 70 | 61 72 65 43 6f 6d 6d 65 |,i,"comp|areComme|
|00004cf0| 6e 74 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |nt".end |if.end r|
|00004d00| 65 70 65 61 74 0d 72 65 | 70 65 61 74 20 77 69 74 |epeat.re|peat wit|
|00004d10| 68 20 69 20 3d 20 32 20 | 74 6f 20 6e 75 6d 62 65 |h i = 2 |to numbe|
|00004d20| 72 20 6f 66 20 63 61 72 | 64 73 20 69 6e 20 62 6b |r of car|ds in bk|
|00004d30| 67 6e 64 20 22 65 6e 75 | 6d 65 72 61 74 69 6f 6e |gnd "enu|meration|
|00004d40| 22 0d 69 66 20 6e 6f 74 | 20 68 69 6c 69 74 65 20 |".if not| hilite |
|00004d50| 6f 66 20 62 6b 67 6e 64 | 20 62 75 74 74 6f 6e 20 |of bkgnd| button |
|00004d60| 22 66 72 6f 6d 20 41 45 | 55 54 22 20 6f 66 20 63 |"from AE|UT" of c|
|00004d70| 61 72 64 20 69 20 6f 66 | 20 62 6b 67 6e 64 20 22 |ard i of| bkgnd "|
|00004d80| 65 6e 75 6d 65 72 61 74 | 69 6f 6e 22 20 74 68 65 |enumerat|ion" the|
|00004d90| 6e 0d 54 72 61 6e 73 6c | 61 74 65 47 72 6f 75 70 |n.Transl|ateGroup|
|00004da0| 20 6f 75 74 4f 6e 6c 79 | 2c 33 2c 22 65 6e 75 6d | outOnly|,3,"enum|
|00004db0| 65 72 61 74 69 6f 6e 22 | 2c 69 2c 22 65 6e 75 6d |eration"|,i,"enum|
|00004dc0| 49 6e 66 6f 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Info".en|d if.end|
|00004dd0| 20 72 65 70 65 61 74 0d | 67 6f 20 63 64 20 22 6d | repeat.|go cd "m|
|00004de0| 61 69 6e 4d 65 6e 75 22 | 0d 50 75 74 53 63 72 61 |ainMenu"|.PutScra|
|00004df0| 74 63 68 20 74 72 61 6e | 73 6c 61 74 69 6f 6e 54 |tch tran|slationT|
|00004e00| 61 62 6c 65 2c 20 22 54 | 72 61 6e 73 6c 61 74 69 |able, "T|ranslati|
|00004e10| 6f 6e 20 74 61 62 6c 65 | 22 0d 69 66 20 6f 75 74 |on table|".if out|
|00004e20| 4f 6e 6c 79 20 3c 3e 20 | 22 74 72 75 65 22 20 74 |Only <> |"true" t|
|00004e30| 68 65 6e 0d 43 6f 6e 73 | 74 72 75 63 74 4c 69 6e |hen.Cons|tructLin|
|00004e40| 6b 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 22 22 20 |k.end if|.put "" |
|00004e50| 69 6e 74 6f 20 74 72 61 | 6e 73 6c 61 74 69 6f 6e |into tra|nslation|
|00004e60| 54 61 62 6c 65 0d 65 6e | 64 20 4c 6f 63 61 6c 69 |Table.en|d Locali|
|00004e70| 7a 61 74 69 6f 6e 0d 0d | 6f 6e 20 54 72 61 6e 73 |zation..|on Trans|
|00004e80| 6c 61 74 65 46 69 65 6c | 64 20 6f 75 74 4f 6e 6c |lateFiel|d outOnl|
|00004e90| 79 2c 20 62 6b 67 6e 64 | 4e 61 6d 65 2c 20 63 61 |y, bkgnd|Name, ca|
|00004ea0| 72 64 4e 6f 2c 20 66 69 | 65 6c 64 4e 61 6d 65 0d |rdNo, fi|eldName.|
|00004eb0| 70 75 74 20 22 66 69 65 | 6c 64 22 20 26 26 20 71 |put "fie|ld" && q|
|00004ec0| 75 6f 74 65 20 26 20 66 | 69 65 6c 64 4e 61 6d 65 |uote & f|ieldName|
|00004ed0| 20 26 20 71 75 6f 74 65 | 20 26 26 20 22 6f 66 20 | & quote| && "of |
|00004ee0| 63 61 72 64 22 20 26 26 | 20 63 61 72 64 4e 6f 20 |card" &&| cardNo |
|00004ef0| c2 0d 26 26 20 22 6f 66 | 20 62 6b 67 6e 64 22 20 |..&& "of| bkgnd" |
|00004f00| 26 26 20 71 75 6f 74 65 | 20 26 20 62 6b 67 6e 64 |&& quote| & bkgnd|
|00004f10| 4e 61 6d 65 20 26 20 71 | 75 6f 74 65 20 69 6e 74 |Name & q|uote int|
|00004f20| 6f 20 63 68 75 6e 6b 4e | 61 6d 65 0d 70 75 74 20 |o chunkN|ame.put |
|00004f30| 76 61 6c 75 65 20 6f 66 | 20 63 68 75 6e 6b 4e 61 |value of| chunkNa|
|00004f40| 6d 65 20 69 6e 74 6f 20 | 63 68 75 6e 6b 56 61 6c |me into |chunkVal|
|00004f50| 75 65 0d 69 66 20 63 68 | 75 6e 6b 56 61 6c 75 65 |ue.if ch|unkValue|
|00004f60| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00004f70| 65 6e 0d 69 66 20 6f 75 | 74 4f 6e 6c 79 20 3d 20 |en.if ou|tOnly = |
|00004f80| 22 74 72 75 65 22 20 74 | 68 65 6e 0d 73 65 74 20 |"true" t|hen.set |
|00004f90| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 55 |cursor t|o busy.U|
|00004fa0| 70 64 61 74 65 54 61 62 | 6c 65 20 63 68 75 6e 6b |pdateTab|le chunk|
|00004fb0| 56 61 6c 75 65 2c 20 63 | 68 75 6e 6b 56 61 6c 75 |Value, c|hunkValu|
|00004fc0| 65 20 26 20 22 27 73 20 | 74 72 61 6e 73 6c 61 74 |e & "'s |translat|
|00004fd0| 69 6f 6e 22 0d 65 6c 73 | 65 0d 70 75 74 20 54 72 |ion".els|e.put Tr|
|00004fe0| 61 6e 73 6c 61 74 65 54 | 68 69 73 28 63 68 75 6e |anslateT|his(chun|
|00004ff0| 6b 56 61 6c 75 65 29 20 | 69 6e 74 6f 20 69 74 0d |kValue) |into it.|
|00005000| 69 66 20 6f 75 74 4f 6e | 6c 79 20 3d 20 22 6e 6f |if outOn|ly = "no|
|00005010| 22 20 74 68 65 6e 20 2d | 2d 20 77 65 20 64 6f 20 |" then -|- we do |
|00005020| 6e 6f 74 20 6e 65 65 64 | 20 74 6f 20 63 6f 6e 66 |not need| to conf|
|00005030| 69 72 6d 0d 69 66 20 69 | 74 20 3c 3e 20 22 40 23 |irm.if i|t <> "@#|
|00005040| 24 25 22 20 74 68 65 6e | 20 2d 2d 20 77 65 20 68 |$%" then| -- we h|
|00005050| 61 76 65 20 61 20 74 72 | 61 6e 73 6c 61 74 69 6f |ave a tr|anslatio|
|00005060| 6e 0d 69 66 20 69 74 20 | 3c 3e 20 22 63 68 75 6e |n.if it |<> "chun|
|00005070| 6b 56 61 6c 75 65 22 20 | 74 68 65 6e 20 2d 2d 20 |kValue" |then -- |
|00005080| 74 68 65 20 76 61 6c 75 | 65 20 69 73 20 63 68 61 |the valu|e is cha|
|00005090| 6e 67 65 64 0d 64 6f 20 | 22 70 75 74 20 69 74 20 |nged.do |"put it |
|000050a0| 69 6e 74 6f 22 20 26 26 | 20 63 68 75 6e 6b 4e 61 |into" &&| chunkNa|
|000050b0| 6d 65 20 2d 2d 20 77 72 | 69 74 65 20 69 74 20 62 |me -- wr|ite it b|
|000050c0| 61 63 6b 0d 65 6e 64 20 | 69 66 0d 65 78 69 74 20 |ack.end |if.exit |
|000050d0| 54 72 61 6e 73 6c 61 74 | 65 46 69 65 6c 64 20 2d |Translat|eField -|
|000050e0| 2d 20 64 6f 6e 65 0d 65 | 6e 64 20 69 66 0d 65 6e |- done.e|nd if.en|
|000050f0| 64 20 69 66 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |d if.put| it into|
|00005100| 20 6f 6c 64 54 72 61 6e | 73 0d 69 66 20 69 74 20 | oldTran|s.if it |
|00005110| 3d 20 22 40 23 24 25 22 | 20 74 68 65 6e 20 2d 2d |= "@#$%"| then --|
|00005120| 20 77 65 20 64 6f 20 6e | 6f 74 20 68 61 76 65 20 | we do n|ot have |
|00005130| 61 20 74 72 61 6e 73 6c | 61 74 69 6f 6e 0d 70 75 |a transl|ation.pu|
|00005140| 74 20 63 68 75 6e 6b 56 | 61 6c 75 65 20 69 6e 74 |t chunkV|alue int|
|00005150| 6f 20 69 74 0d 65 6e 64 | 20 69 66 0d 61 73 6b 20 |o it.end| if.ask |
|00005160| 22 54 72 61 6e 73 6c 61 | 74 65 22 20 26 26 20 71 |"Transla|te" && q|
|00005170| 75 6f 74 65 20 26 20 63 | 68 75 6e 6b 56 61 6c 75 |uote & c|hunkValu|
|00005180| 65 20 26 20 71 75 6f 74 | 65 20 26 26 20 22 74 6f |e & quot|e && "to|
|00005190| 3a 22 20 77 69 74 68 20 | 69 74 0d 69 66 20 74 68 |:" with |it.if th|
|000051a0| 65 20 72 65 73 75 6c 74 | 20 3d 20 22 43 61 6e 63 |e result| = "Canc|
|000051b0| 65 6c 22 20 74 68 65 6e | 0d 43 6f 6e 73 74 72 75 |el" then|.Constru|
|000051c0| 63 74 4c 69 6e 6b 0d 65 | 78 69 74 20 74 6f 20 48 |ctLink.e|xit to H|
|000051d0| 79 70 65 72 43 61 72 64 | 0d 65 6c 73 65 0d 64 6f |yperCard|.else.do|
|000051e0| 20 22 70 75 74 20 69 74 | 20 69 6e 74 6f 22 20 26 | "put it| into" &|
|000051f0| 26 20 63 68 75 6e 6b 4e | 61 6d 65 0d 69 66 20 28 |& chunkN|ame.if (|
|00005200| 6f 6c 64 54 72 61 6e 73 | 20 3c 3e 20 69 74 29 20 |oldTrans| <> it) |
|00005210| 61 6e 64 20 28 63 68 75 | 6e 6b 56 61 6c 75 65 20 |and (chu|nkValue |
|00005220| 3c 3e 20 69 74 29 20 74 | 68 65 6e 20 2d 2d 20 74 |<> it) t|hen -- t|
|00005230| 68 69 73 20 69 73 20 61 | 20 6e 65 77 20 74 72 61 |his is a| new tra|
|00005240| 6e 73 6c 61 74 69 6f 6e | 2c 20 75 70 64 61 74 65 |nslation|, update|
|00005250| 20 74 61 62 6c 65 0d 55 | 70 64 61 74 65 54 61 62 | table.U|pdateTab|
|00005260| 6c 65 20 63 68 75 6e 6b | 56 61 6c 75 65 2c 20 69 |le chunk|Value, i|
|00005270| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |t.end if|.end if.|
|00005280| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00005290| 64 20 54 72 61 6e 73 6c | 61 74 65 46 69 65 6c 64 |d Transl|ateField|
|000052a0| 0d 0d 6f 6e 20 54 72 61 | 6e 73 6c 61 74 65 47 72 |..on Tra|nslateGr|
|000052b0| 6f 75 70 20 6f 75 74 4f | 6e 6c 79 2c 20 63 6f 6d |oup outO|nly, com|
|000052c0| 6d 65 6e 74 49 74 65 6d | 2c 62 6b 67 6e 64 4e 61 |mentItem|,bkgndNa|
|000052d0| 6d 65 2c 20 63 61 72 64 | 4e 6f 2c 20 66 69 65 6c |me, card|No, fiel|
|000052e0| 64 4e 61 6d 65 0d 70 75 | 74 20 22 66 69 65 6c 64 |dName.pu|t "field|
|000052f0| 22 20 26 26 20 71 75 6f | 74 65 20 26 20 66 69 65 |" && quo|te & fie|
|00005300| 6c 64 4e 61 6d 65 20 26 | 20 71 75 6f 74 65 20 26 |ldName &| quote &|
|00005310| 26 20 22 6f 66 20 63 61 | 72 64 22 20 26 26 20 63 |& "of ca|rd" && c|
|00005320| 61 72 64 4e 6f 20 c2 0d | 26 26 20 22 6f 66 20 62 |ardNo ..|&& "of b|
|00005330| 6b 67 6e 64 22 20 26 26 | 20 71 75 6f 74 65 20 26 |kgnd" &&| quote &|
|00005340| 20 62 6b 67 6e 64 4e 61 | 6d 65 20 26 20 71 75 6f | bkgndNa|me & quo|
|00005350| 74 65 20 69 6e 74 6f 20 | 63 68 75 6e 6b 4e 61 6d |te into |chunkNam|
|00005360| 65 0d 70 75 74 20 76 61 | 6c 75 65 20 6f 66 20 63 |e.put va|lue of c|
|00005370| 68 75 6e 6b 4e 61 6d 65 | 20 69 6e 74 6f 20 70 61 |hunkName| into pa|
|00005380| 72 61 6d 49 6e 66 6f 0d | 72 65 70 65 61 74 20 77 |ramInfo.|repeat w|
|00005390| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith i = |1 to num|
|000053a0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|000053b0| 70 61 72 61 6d 49 6e 66 | 6f 0d 70 75 74 20 6c 69 |paramInf|o.put li|
|000053c0| 6e 65 20 69 20 6f 66 20 | 70 61 72 61 6d 49 6e 66 |ne i of |paramInf|
|000053d0| 6f 20 69 6e 74 6f 20 74 | 68 69 73 50 61 72 61 6d |o into t|hisParam|
|000053e0| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |.put ite|m 1 of t|
|000053f0| 68 69 73 50 61 72 61 6d | 20 69 6e 74 6f 20 69 74 |hisParam| into it|
|00005400| 73 4e 61 6d 65 0d 70 75 | 74 20 69 74 65 6d 20 31 |sName.pu|t item 1|
|00005410| 20 74 6f 20 28 63 6f 6d | 6d 65 6e 74 49 74 65 6d | to (com|mentItem|
|00005420| 2d 31 29 20 6f 66 20 74 | 68 69 73 50 61 72 61 6d |-1) of t|hisParam|
|00005430| 20 69 6e 74 6f 20 6e 65 | 77 50 61 72 61 6d 0d 64 | into ne|wParam.d|
|00005440| 65 6c 65 74 65 20 69 74 | 65 6d 20 31 20 74 6f 20 |elete it|em 1 to |
|00005450| 28 63 6f 6d 6d 65 6e 74 | 49 74 65 6d 2d 31 29 20 |(comment|Item-1) |
|00005460| 6f 66 20 74 68 69 73 50 | 61 72 61 6d 0d 69 66 20 |of thisP|aram.if |
|00005470| 69 74 73 4e 61 6d 65 20 | 3c 3e 20 22 22 20 74 68 |itsName |<> "" th|
|00005480| 65 6e 0d 70 75 74 20 54 | 72 61 6e 73 6c 61 74 65 |en.put T|ranslate|
|00005490| 53 74 72 69 6e 67 28 6f | 75 74 4f 6e 6c 79 2c 69 |String(o|utOnly,i|
|000054a0| 74 73 4e 61 6d 65 29 20 | 69 6e 74 6f 20 69 74 65 |tsName) |into ite|
|000054b0| 6d 20 31 20 6f 66 20 6e | 65 77 50 61 72 61 6d 0d |m 1 of n|ewParam.|
|000054c0| 65 6e 64 20 69 66 0d 69 | 66 20 74 68 69 73 50 61 |end if.i|f thisPa|
|000054d0| 72 61 6d 20 3c 3e 20 22 | 22 20 74 68 65 6e 0d 70 |ram <> "|" then.p|
|000054e0| 75 74 20 22 2c 22 20 26 | 20 54 72 61 6e 73 6c 61 |ut "," &| Transla|
|000054f0| 74 65 53 74 72 69 6e 67 | 28 6f 75 74 4f 6e 6c 79 |teString|(outOnly|
|00005500| 2c 74 68 69 73 50 61 72 | 61 6d 29 20 61 66 74 65 |,thisPar|am) afte|
|00005510| 72 20 6e 65 77 50 61 72 | 61 6d 0d 65 6c 73 65 0d |r newPar|am.else.|
|00005520| 70 75 74 20 22 2c 22 20 | 61 66 74 65 72 20 6e 65 |put "," |after ne|
|00005530| 77 50 61 72 61 6d 0d 65 | 6e 64 20 69 66 0d 70 75 |wParam.e|nd if.pu|
|00005540| 74 20 6e 65 77 50 61 72 | 61 6d 20 69 6e 74 6f 20 |t newPar|am into |
|00005550| 6c 69 6e 65 20 69 20 6f | 66 20 70 61 72 61 6d 49 |line i o|f paramI|
|00005560| 6e 66 6f 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 69 |nfo.end |repeat.i|
|00005570| 66 20 6f 75 74 4f 6e 6c | 79 20 3c 3e 20 22 74 72 |f outOnl|y <> "tr|
|00005580| 75 65 22 20 74 68 65 6e | 0d 64 6f 20 22 70 75 74 |ue" then|.do "put|
|00005590| 20 70 61 72 61 6d 49 6e | 66 6f 20 69 6e 74 6f 22 | paramIn|fo into"|
|000055a0| 20 26 26 20 63 68 75 6e | 6b 4e 61 6d 65 0d 65 6e | && chun|kName.en|
|000055b0| 64 20 69 66 0d 65 6e 64 | 20 54 72 61 6e 73 6c 61 |d if.end| Transla|
|000055c0| 74 65 47 72 6f 75 70 0d | 0d 66 75 6e 63 74 69 6f |teGroup.|.functio|
|000055d0| 6e 20 54 72 61 6e 73 6c | 61 74 65 53 74 72 69 6e |n Transl|ateStrin|
|000055e0| 67 20 6f 75 74 4f 6e 6c | 79 2c 20 73 74 72 69 6e |g outOnl|y, strin|
|000055f0| 67 0d 69 66 20 6f 75 74 | 4f 6e 6c 79 20 3d 20 22 |g.if out|Only = "|
|00005600| 74 72 75 65 22 20 74 68 | 65 6e 0d 73 65 74 20 63 |true" th|en.set c|
|00005610| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 55 70 |ursor to| busy.Up|
|00005620| 64 61 74 65 54 61 62 6c | 65 20 73 74 72 69 6e 67 |dateTabl|e string|
|00005630| 2c 20 73 74 72 69 6e 67 | 20 26 20 22 27 73 20 74 |, string| & "'s t|
|00005640| 72 61 6e 73 6c 61 74 69 | 6f 6e 22 0d 72 65 74 75 |ranslati|on".retu|
|00005650| 72 6e 20 73 74 72 69 6e | 67 0d 65 6c 73 65 0d 70 |rn strin|g.else.p|
|00005660| 75 74 20 54 72 61 6e 73 | 6c 61 74 65 54 68 69 73 |ut Trans|lateThis|
|00005670| 28 73 74 72 69 6e 67 29 | 20 69 6e 74 6f 20 69 74 |(string)| into it|
|00005680| 0d 69 66 20 6f 75 74 4f | 6e 6c 79 20 3d 20 22 6e |.if outO|nly = "n|
|00005690| 6f 22 20 74 68 65 6e 20 | 2d 2d 20 77 65 20 64 6f |o" then |-- we do|
|000056a0| 20 6e 6f 74 20 6e 65 65 | 64 20 74 6f 20 63 6f 6e | not nee|d to con|
|000056b0| 66 69 72 6d 0d 69 66 20 | 69 74 20 3c 3e 20 22 40 |firm.if |it <> "@|
|000056c0| 23 24 25 22 20 74 68 65 | 6e 20 2d 2d 20 77 65 20 |#$%" the|n -- we |
|000056d0| 68 61 76 65 20 61 20 74 | 72 61 6e 73 6c 61 74 69 |have a t|ranslati|
|000056e0| 6f 6e 0d 72 65 74 75 72 | 6e 20 69 74 20 2d 2d 20 |on.retur|n it -- |
|000056f0| 64 6f 6e 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |done.end| if.end |
|00005700| 69 66 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 6f |if.put i|t into o|
|00005710| 6c 64 54 72 61 6e 73 0d | 69 66 20 69 74 20 3d 20 |ldTrans.|if it = |
|00005720| 22 40 23 24 25 22 20 74 | 68 65 6e 20 2d 2d 20 77 |"@#$%" t|hen -- w|
|00005730| 65 20 64 6f 20 6e 6f 74 | 20 68 61 76 65 20 61 20 |e do not| have a |
|00005740| 74 72 61 6e 73 6c 61 74 | 69 6f 6e 0d 70 75 74 20 |translat|ion.put |
|00005750| 73 74 72 69 6e 67 20 69 | 6e 74 6f 20 69 74 0d 65 |string i|nto it.e|
|00005760| 6e 64 20 69 66 0d 61 73 | 6b 20 22 54 72 61 6e 73 |nd if.as|k "Trans|
|00005770| 6c 61 74 65 22 20 26 26 | 20 71 75 6f 74 65 20 26 |late" &&| quote &|
|00005780| 20 73 74 72 69 6e 67 20 | 26 20 71 75 6f 74 65 20 | string |& quote |
|00005790| 26 26 20 22 74 6f 3a 22 | 20 77 69 74 68 20 69 74 |&& "to:"| with it|
|000057a0| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 3d |.if the |result =|
|000057b0| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 0d 43 | "Cancel|" then.C|
|000057c0| 6f 6e 73 74 72 75 63 74 | 4c 69 6e 6b 0d 65 78 69 |onstruct|Link.exi|
|000057d0| 74 20 74 6f 20 48 79 70 | 65 72 43 61 72 64 0d 65 |t to Hyp|erCard.e|
|000057e0| 6c 73 65 0d 69 66 20 28 | 6f 6c 64 54 72 61 6e 73 |lse.if (|oldTrans|
|000057f0| 20 3c 3e 20 69 74 29 20 | 61 6e 64 20 28 73 74 72 | <> it) |and (str|
|00005800| 69 6e 67 20 3c 3e 20 69 | 74 29 20 74 68 65 6e 20 |ing <> i|t) then |
|00005810| 2d 2d 20 74 68 69 73 20 | 69 73 20 61 20 6e 65 77 |-- this |is a new|
|00005820| 20 74 72 61 6e 73 6c 61 | 74 69 6f 6e 2c 20 75 70 | transla|tion, up|
|00005830| 64 61 74 65 20 74 61 62 | 6c 65 0d 55 70 64 61 74 |date tab|le.Updat|
|00005840| 65 54 61 62 6c 65 20 73 | 74 72 69 6e 67 2c 20 69 |eTable s|tring, i|
|00005850| 74 0d 65 6e 64 20 69 66 | 0d 72 65 74 75 72 6e 20 |t.end if|.return |
|00005860| 69 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |it.end i|f.end if|
|00005870| 0d 65 6e 64 20 54 72 61 | 6e 73 6c 61 74 65 53 74 |.end Tra|nslateSt|
|00005880| 72 69 6e 67 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 54 |ring..fu|nction T|
|00005890| 72 61 6e 73 6c 61 74 65 | 54 68 69 73 20 73 74 72 |ranslate|This str|
|000058a0| 69 6e 67 0d 67 6c 6f 62 | 61 6c 20 74 72 61 6e 73 |ing.glob|al trans|
|000058b0| 6c 61 74 69 6f 6e 54 61 | 62 6c 65 0d 69 66 20 74 |lationTa|ble.if t|
|000058c0| 72 61 6e 73 6c 61 74 69 | 6f 6e 54 61 62 6c 65 20 |ranslati|onTable |
|000058d0| 3c 3e 20 22 22 20 74 68 | 65 6e 0d 70 75 74 20 53 |<> "" th|en.put S|
|000058e0| 65 61 72 63 68 28 74 72 | 61 6e 73 6c 61 74 69 6f |earch(tr|anslatio|
|000058f0| 6e 54 61 62 6c 65 2c 20 | 73 74 72 69 6e 67 20 26 |nTable, |string &|
|00005900| 20 72 65 74 75 72 6e 2c | 20 74 72 75 65 2c 20 74 | return,| true, t|
|00005910| 72 75 65 29 20 69 6e 74 | 6f 20 6c 69 6e 65 4c 69 |rue) int|o lineLi|
|00005920| 73 74 0d 70 75 74 20 6e | 75 6d 62 65 72 20 6f 66 |st.put n|umber of|
|00005930| 20 6c 69 6e 65 73 20 69 | 6e 20 6c 69 6e 65 4c 69 | lines i|n lineLi|
|00005940| 73 74 20 69 6e 74 6f 20 | 6e 0d 72 65 70 65 61 74 |st into |n.repeat|
|00005950| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 6e | with i |= 1 to n|
|00005960| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 6c |.put ite|m 1 of l|
|00005970| 69 6e 65 20 69 20 6f 66 | 20 6c 69 6e 65 4c 69 73 |ine i of| lineLis|
|00005980| 74 20 69 6e 74 6f 20 6a | 0d 69 66 20 28 6a 20 6d |t into j|.if (j m|
|00005990| 6f 64 20 32 29 20 3d 20 | 31 20 74 68 65 6e 0d 69 |od 2) = |1 then.i|
|000059a0| 66 20 6c 69 6e 65 20 6a | 20 6f 66 20 74 72 61 6e |f line j| of tran|
|000059b0| 73 6c 61 74 69 6f 6e 54 | 61 62 6c 65 20 3d 20 73 |slationT|able = s|
|000059c0| 74 72 69 6e 67 20 74 68 | 65 6e 0d 72 65 74 75 72 |tring th|en.retur|
|000059d0| 6e 20 6c 69 6e 65 20 6a | 2b 31 20 6f 66 20 74 72 |n line j|+1 of tr|
|000059e0| 61 6e 73 6c 61 74 69 6f | 6e 54 61 62 6c 65 0d 65 |anslatio|nTable.e|
|000059f0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00005a00| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 72 | repeat.|end if.r|
|00005a10| 65 74 75 72 6e 20 22 40 | 23 24 25 22 0d 65 6e 64 |eturn "@|#$%".end|
|00005a20| 20 54 72 61 6e 73 6c 61 | 74 65 54 68 69 73 0d 0d | Transla|teThis..|
|00005a30| 6f 6e 20 55 70 64 61 74 | 65 54 61 62 6c 65 20 73 |on Updat|eTable s|
|00005a40| 6f 75 72 63 65 2c 74 72 | 61 6e 73 6c 61 74 69 6f |ource,tr|anslatio|
|00005a50| 6e 0d 67 6c 6f 62 61 6c | 20 74 72 61 6e 73 6c 61 |n.global| transla|
|00005a60| 74 69 6f 6e 54 61 62 6c | 65 0d 70 75 74 20 53 65 |tionTabl|e.put Se|
|00005a70| 61 72 63 68 28 74 72 61 | 6e 73 6c 61 74 69 6f 6e |arch(tra|nslation|
|00005a80| 54 61 62 6c 65 2c 20 73 | 6f 75 72 63 65 20 26 20 |Table, s|ource & |
|00005a90| 72 65 74 75 72 6e 2c 20 | 74 72 75 65 2c 20 74 72 |return, |true, tr|
|00005aa0| 75 65 29 20 69 6e 74 6f | 20 6c 69 6e 65 4c 69 73 |ue) into| lineLis|
|00005ab0| 74 0d 70 75 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t.put nu|mber of |
|00005ac0| 6c 69 6e 65 73 20 69 6e | 20 6c 69 6e 65 4c 69 73 |lines in| lineLis|
|00005ad0| 74 20 69 6e 74 6f 20 6e | 0d 72 65 70 65 61 74 20 |t into n|.repeat |
|00005ae0| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 6e 0d |with i =| 1 to n.|
|00005af0| 70 75 74 20 69 74 65 6d | 20 31 20 6f 66 20 6c 69 |put item| 1 of li|
|00005b00| 6e 65 20 69 20 6f 66 20 | 6c 69 6e 65 4c 69 73 74 |ne i of |lineList|
|00005b10| 20 69 6e 74 6f 20 6a 0d | 69 66 20 28 6a 20 6d 6f | into j.|if (j mo|
|00005b20| 64 20 32 29 20 3d 20 31 | 20 74 68 65 6e 0d 69 66 |d 2) = 1| then.if|
|00005b30| 20 6c 69 6e 65 20 6a 20 | 6f 66 20 74 72 61 6e 73 | line j |of trans|
|00005b40| 6c 61 74 69 6f 6e 54 61 | 62 6c 65 20 3d 20 73 6f |lationTa|ble = so|
|00005b50| 75 72 63 65 20 74 68 65 | 6e 0d 2d 2d 20 74 72 61 |urce the|n.-- tra|
|00005b60| 6e 73 6c 61 74 69 6f 6e | 20 63 68 61 6e 67 65 64 |nslation| changed|
|00005b70| 2c 20 77 65 20 75 70 64 | 61 74 65 20 69 74 0d 70 |, we upd|ate it.p|
|00005b80| 75 74 20 74 72 61 6e 73 | 6c 61 74 69 6f 6e 20 69 |ut trans|lation i|
|00005b90| 6e 74 6f 20 6c 69 6e 65 | 20 6a 2b 31 20 6f 66 20 |nto line| j+1 of |
|00005ba0| 74 72 61 6e 73 6c 61 74 | 69 6f 6e 54 61 62 6c 65 |translat|ionTable|
|00005bb0| 0d 65 78 69 74 20 55 70 | 64 61 74 65 54 61 62 6c |.exit Up|dateTabl|
|00005bc0| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |e.end if|.end if.|
|00005bd0| 65 6e 64 20 72 65 70 65 | 61 74 0d 2d 2d 20 6e 65 |end repe|at.-- ne|
|00005be0| 77 20 74 72 61 6e 73 6c | 61 74 69 6f 6e 2c 20 77 |w transl|ation, w|
|00005bf0| 65 20 61 64 64 20 74 6f | 20 74 68 65 20 65 6e 64 |e add to| the end|
|00005c00| 20 6f 66 20 74 68 65 20 | 74 61 62 6c 65 0d 70 75 | of the |table.pu|
|00005c10| 74 20 73 6f 75 72 63 65 | 20 26 20 72 65 74 75 72 |t source| & retur|
|00005c20| 6e 20 26 20 74 72 61 6e | 73 6c 61 74 69 6f 6e 20 |n & tran|slation |
|00005c30| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 74 |& return| after t|
|00005c40| 72 61 6e 73 6c 61 74 69 | 6f 6e 54 61 62 6c 65 0d |ranslati|onTable.|
|00005c50| 65 6e 64 20 55 70 64 61 | 74 65 54 61 62 6c 65 0d |end Upda|teTable.|
|00005c60| 0d 6f 6e 20 43 6f 6e 73 | 74 72 75 63 74 4c 69 6e |.on Cons|tructLin|
|00005c70| 6b 0d 67 6c 6f 62 61 6c | 20 69 6e 45 64 69 74 0d |k.global| inEdit.|
|00005c80| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 69 |put fals|e into i|
|00005c90| 6e 45 64 69 74 0d 70 75 | 74 20 68 69 6c 69 74 65 |nEdit.pu|t hilite|
|00005ca0| 20 6f 66 20 63 61 72 64 | 20 62 75 74 74 6f 6e 20 | of card| button |
|00005cb0| 69 64 20 38 20 6f 66 20 | 63 61 72 64 20 22 70 72 |id 8 of |card "pr|
|00005cc0| 65 66 65 72 65 6e 63 65 | 22 20 69 6e 74 6f 20 73 |eference|" into s|
|00005cd0| 6f 72 74 4e 61 6d 65 0d | 70 75 74 20 68 69 6c 69 |ortName.|put hili|
|00005ce0| 74 65 20 6f 66 20 63 61 | 72 64 20 62 75 74 74 6f |te of ca|rd butto|
|00005cf0| 6e 20 69 64 20 32 36 20 | 6f 66 20 63 61 72 64 20 |n id 26 |of card |
|00005d00| 22 70 72 65 66 65 72 65 | 6e 63 65 22 20 69 6e 74 |"prefere|nce" int|
|00005d10| 6f 20 63 6c 65 61 6e 46 | 6c 61 67 0d 69 66 20 73 |o cleanF|lag.if s|
|00005d20| 6f 72 74 4e 61 6d 65 20 | 74 68 65 6e 0d 73 65 74 |ortName |then.set|
|00005d30| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00005d40| 73 6f 72 74 20 62 6b 67 | 6e 64 20 22 65 76 65 6e |sort bkg|nd "even|
|00005d50| 74 73 22 20 62 79 20 52 | 65 73 54 79 70 65 28 66 |ts" by R|esType(f|
|00005d60| 69 65 6c 64 20 22 53 75 | 69 74 65 43 6f 64 65 22 |ield "Su|iteCode"|
|00005d70| 29 20 26 20 66 69 65 6c | 64 20 22 65 76 65 6e 74 |) & fiel|d "event|
|00005d80| 4e 61 6d 65 22 0d 73 65 | 74 20 63 75 72 73 6f 72 |Name".se|t cursor|
|00005d90| 20 74 6f 20 62 75 73 79 | 0d 73 6f 72 74 20 62 6b | to busy|.sort bk|
|00005da0| 67 6e 64 20 22 63 6c 61 | 73 73 22 20 62 79 20 52 |gnd "cla|ss" by R|
|00005db0| 65 73 54 79 70 65 28 66 | 69 65 6c 64 20 22 53 75 |esType(f|ield "Su|
|00005dc0| 69 74 65 43 6f 64 65 22 | 29 20 26 20 66 69 65 6c |iteCode"|) & fiel|
|00005dd0| 64 20 22 63 6c 61 73 73 | 4e 61 6d 65 22 0d 73 65 |d "class|Name".se|
|00005de0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00005df0| 0d 73 6f 72 74 20 62 6b | 67 6e 64 20 22 63 6f 6d |.sort bk|gnd "com|
|00005e00| 70 61 72 69 73 6f 6e 22 | 20 62 79 20 52 65 73 54 |parison"| by ResT|
|00005e10| 79 70 65 28 66 69 65 6c | 64 20 22 53 75 69 74 65 |ype(fiel|d "Suite|
|00005e20| 43 6f 64 65 22 29 20 26 | 20 66 69 65 6c 64 20 22 |Code") &| field "|
|00005e30| 63 6f 6d 70 61 72 65 4e | 61 6d 65 22 0d 73 65 74 |compareN|ame".set|
|00005e40| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00005e50| 73 6f 72 74 20 62 6b 67 | 6e 64 20 22 65 6e 75 6d |sort bkg|nd "enum|
|00005e60| 65 72 61 74 69 6f 6e 22 | 20 62 79 20 52 65 73 54 |eration"| by ResT|
|00005e70| 79 70 65 28 66 69 65 6c | 64 20 22 53 75 69 74 65 |ype(fiel|d "Suite|
|00005e80| 43 6f 64 65 22 29 20 26 | 20 66 69 65 6c 64 20 22 |Code") &| field "|
|00005e90| 65 6e 75 6d 65 72 61 74 | 69 6f 6e 22 0d 65 6c 73 |enumerat|ion".els|
|00005ea0| 65 0d 73 6f 72 74 20 62 | 6b 67 6e 64 20 22 65 76 |e.sort b|kgnd "ev|
|00005eb0| 65 6e 74 73 22 20 62 79 | 20 66 69 65 6c 64 20 22 |ents" by| field "|
|00005ec0| 53 75 69 74 65 43 6f 64 | 65 22 0d 73 6f 72 74 20 |SuiteCod|e".sort |
|00005ed0| 62 6b 67 6e 64 20 22 63 | 6c 61 73 73 22 20 62 79 |bkgnd "c|lass" by|
|00005ee0| 20 66 69 65 6c 64 20 22 | 53 75 69 74 65 43 6f 64 | field "|SuiteCod|
|00005ef0| 65 22 0d 73 6f 72 74 20 | 62 6b 67 6e 64 20 22 63 |e".sort |bkgnd "c|
|00005f00| 6f 6d 70 61 72 69 73 6f | 6e 22 20 62 79 20 66 69 |ompariso|n" by fi|
|00005f10| 65 6c 64 20 22 53 75 69 | 74 65 43 6f 64 65 22 0d |eld "Sui|teCode".|
|00005f20| 73 6f 72 74 20 62 6b 67 | 6e 64 20 22 65 6e 75 6d |sort bkg|nd "enum|
|00005f30| 65 72 61 74 69 6f 6e 22 | 20 62 79 20 66 69 65 6c |eration"| by fiel|
|00005f40| 64 20 22 53 75 69 74 65 | 43 6f 64 65 22 0d 65 6e |d "Suite|Code".en|
|00005f50| 64 20 69 66 0d 70 75 74 | 20 6e 75 6d 62 65 72 20 |d if.put| number |
|00005f60| 6f 66 20 63 61 72 64 73 | 20 69 6e 20 62 6b 67 6e |of cards| in bkgn|
|00005f70| 64 20 22 73 75 69 74 65 | 49 6e 66 6f 22 20 69 6e |d "suite|Info" in|
|00005f80| 74 6f 20 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |to n.rep|eat with|
|00005f90| 20 69 20 3d 20 32 20 74 | 6f 20 6e 0d 67 6f 20 63 | i = 2 t|o n.go c|
|00005fa0| 61 72 64 20 6e 20 6f 66 | 20 62 6b 67 6e 64 20 22 |ard n of| bkgnd "|
|00005fb0| 73 75 69 74 65 49 6e 66 | 6f 22 0d 2d 2d 20 63 6c |suiteInf|o".-- cl|
|00005fc0| 65 61 72 20 65 76 65 72 | 79 74 68 69 6e 67 0d 70 |ear ever|ything.p|
|00005fd0| 75 74 20 22 22 20 69 6e | 74 6f 20 66 69 65 6c 64 |ut "" in|to field|
|00005fe0| 20 22 65 76 65 6e 74 4c | 69 73 74 22 0d 70 75 74 | "eventL|ist".put|
|00005ff0| 20 22 22 20 69 6e 74 6f | 20 66 69 65 6c 64 20 22 | "" into| field "|
|00006000| 63 6c 61 73 73 4c 69 73 | 74 22 0d 70 75 74 20 22 |classLis|t".put "|
|00006010| 22 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 63 6f |" into f|ield "co|
|00006020| 6d 70 61 72 65 4c 69 73 | 74 22 0d 70 75 74 20 22 |mpareLis|t".put "|
|00006030| 22 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 65 6e |" into f|ield "en|
|00006040| 75 6d 4c 69 73 74 22 0d | 65 6e 64 20 72 65 70 65 |umList".|end repe|
|00006050| 61 74 0d 43 6c 65 61 6e | 54 79 70 65 20 66 61 6c |at.Clean|Type fal|
|00006060| 73 65 2c 20 22 63 6c 61 | 73 73 22 2c 22 63 6c 61 |se, "cla|ss","cla|
|00006070| 73 73 4c 69 73 74 22 2c | 22 63 6c 61 73 73 4e 61 |ssList",|"classNa|
|00006080| 6d 65 22 2c 22 63 6c 61 | 73 73 49 44 22 0d 43 6c |me","cla|ssID".Cl|
|00006090| 65 61 6e 54 79 70 65 20 | 66 61 6c 73 65 2c 20 22 |eanType |false, "|
|000060a0| 63 6f 6d 70 61 72 69 73 | 6f 6e 22 2c 22 63 6f 6d |comparis|on","com|
|000060b0| 70 61 72 65 4c 69 73 74 | 22 2c 22 63 6f 6d 70 61 |pareList|","compa|
|000060c0| 72 65 4e 61 6d 65 22 2c | 22 63 6f 6d 70 61 72 65 |reName",|"compare|
|000060d0| 49 44 22 0d 43 6c 65 61 | 6e 54 79 70 65 20 66 61 |ID".Clea|nType fa|
|000060e0| 6c 73 65 2c 20 22 65 6e | 75 6d 65 72 61 74 69 6f |lse, "en|umeratio|
|000060f0| 6e 22 2c 22 65 6e 75 6d | 4c 69 73 74 22 2c 22 65 |n","enum|List","e|
|00006100| 6e 75 6d 65 72 61 74 69 | 6f 6e 22 0d 43 6c 65 61 |numerati|on".Clea|
|00006110| 6e 54 79 70 65 20 63 6c | 65 61 6e 46 6c 61 67 2c |nType cl|eanFlag,|
|00006120| 20 22 65 76 65 6e 74 73 | 22 2c 22 65 76 65 6e 74 | "events|","event|
|00006130| 4c 69 73 74 22 2c 22 65 | 76 65 6e 74 4e 61 6d 65 |List","e|ventName|
|00006140| 22 2c 22 65 76 65 6e 74 | 43 6c 61 73 73 22 2c 22 |","event|Class","|
|00006150| 65 76 65 6e 74 49 44 22 | 0d 70 75 74 20 6e 75 6d |eventID"|.put num|
|00006160| 62 65 72 20 6f 66 20 63 | 61 72 64 73 20 69 6e 20 |ber of c|ards in |
|00006170| 62 6b 67 6e 64 20 22 73 | 75 69 74 65 49 6e 66 6f |bkgnd "s|uiteInfo|
|00006180| 22 20 69 6e 74 6f 20 69 | 0d 70 75 74 20 22 22 20 |" into i|.put "" |
|00006190| 69 6e 74 6f 20 73 75 69 | 74 65 4c 69 73 74 0d 72 |into sui|teList.r|
|000061a0| 65 70 65 61 74 20 77 68 | 69 6c 65 20 69 20 3e 20 |epeat wh|ile i > |
|000061b0| 31 0d 67 6f 20 63 61 72 | 64 20 69 20 6f 66 20 62 |1.go car|d i of b|
|000061c0| 6b 67 6e 64 20 22 73 75 | 69 74 65 49 6e 66 6f 22 |kgnd "su|iteInfo"|
|000061d0| 0d 69 66 20 66 69 65 6c | 64 20 22 73 75 69 74 65 |.if fiel|d "suite|
|000061e0| 43 6f 64 65 22 20 3d 20 | 22 22 20 74 68 65 6e 0d |Code" = |"" then.|
|000061f0| 64 6f 6d 65 6e 75 20 22 | 64 65 6c 65 74 65 20 43 |domenu "|delete C|
|00006200| 61 72 64 22 0d 65 6c 73 | 65 0d 73 65 74 20 6c 6f |ard".els|e.set lo|
|00006210| 63 6b 54 65 78 74 20 6f | 66 20 66 69 65 6c 64 20 |ckText o|f field |
|00006220| 22 73 75 69 74 65 43 6f | 64 65 22 20 74 6f 20 74 |"suiteCo|de" to t|
|00006230| 72 75 65 0d 73 65 74 20 | 73 74 79 6c 65 20 6f 66 |rue.set |style of|
|00006240| 20 66 69 65 6c 64 20 22 | 73 75 69 74 65 43 6f 64 | field "|suiteCod|
|00006250| 65 22 20 74 6f 20 6f 70 | 61 71 75 65 0d 70 75 74 |e" to op|aque.put|
|00006260| 20 66 69 65 6c 64 20 22 | 73 75 69 74 65 43 6f 64 | field "|suiteCod|
|00006270| 65 22 20 26 20 72 65 74 | 75 72 6e 20 62 65 66 6f |e" & ret|urn befo|
|00006280| 72 65 20 73 75 69 74 65 | 4c 69 73 74 0d 65 6e 64 |re suite|List.end|
|00006290| 20 69 66 0d 73 75 62 74 | 72 61 63 74 20 31 20 66 | if.subt|ract 1 f|
|000062a0| 72 6f 6d 20 69 0d 65 6e | 64 20 72 65 70 65 61 74 |rom i.en|d repeat|
|000062b0| 0d 67 6f 20 63 61 72 64 | 20 22 6d 61 69 6e 4d 65 |.go card| "mainMe|
|000062c0| 6e 75 22 0d 70 75 74 20 | 73 75 69 74 65 4c 69 73 |nu".put |suiteLis|
|000062d0| 74 20 69 6e 74 6f 20 63 | 61 72 64 20 66 69 65 6c |t into c|ard fiel|
|000062e0| 64 20 22 73 75 69 74 65 | 4c 69 73 74 22 0d 70 75 |d "suite|List".pu|
|000062f0| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 69 6e 45 64 |t true i|nto inEd|
|00006300| 69 74 0d 65 6e 64 20 43 | 6f 6e 73 74 72 75 63 74 |it.end C|onstruct|
|00006310| 4c 69 6e 6b 0d 0d 6f 6e | 20 43 6c 65 61 6e 54 79 |Link..on| CleanTy|
|00006320| 70 65 20 63 6c 65 61 6e | 46 6c 61 67 2c 20 62 6b |pe clean|Flag, bk|
|00006330| 67 6e 64 4e 61 6d 65 2c | 6c 69 73 74 4e 61 6d 65 |gndName,|listName|
|00006340| 2c 66 69 65 6c 64 4e 61 | 6d 65 2c 49 44 31 2c 49 |,fieldNa|me,ID1,I|
|00006350| 44 32 0d 70 75 74 20 6e | 75 6d 62 65 72 20 6f 66 |D2.put n|umber of|
|00006360| 20 63 61 72 64 73 20 69 | 6e 20 62 6b 67 6e 64 20 | cards i|n bkgnd |
|00006370| 62 6b 67 6e 64 4e 61 6d | 65 20 69 6e 74 6f 20 6e |bkgndNam|e into n|
|00006380| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 74 68 65 |.put "" |into the|
|00006390| 4c 69 73 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |List.rep|eat with|
|000063a0| 20 69 20 3d 20 32 20 74 | 6f 20 6e 0d 73 65 74 20 | i = 2 t|o n.set |
|000063b0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 67 |cursor t|o busy.g|
|000063c0| 6f 20 63 61 72 64 20 69 | 20 6f 66 20 62 6b 67 6e |o card i| of bkgn|
|000063d0| 64 20 62 6b 67 6e 64 4e | 61 6d 65 0d 69 66 20 62 |d bkgndN|ame.if b|
|000063e0| 6b 67 6e 64 4e 61 6d 65 | 20 3d 20 22 65 76 65 6e |kgndName| = "even|
|000063f0| 74 73 22 20 74 68 65 6e | 0d 69 66 20 63 6c 65 61 |ts" then|.if clea|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.